CREATE TABLE table_name_47 (party VARCHAR, left_office VARCHAR)

What is the party of the politician who left office on January 12, 1857
SELECT party FROM table_name_47 WHERE left_office = "january 12, 1857"
SELECT "party" FROM "table_name_47" WHERE "january 12, 1857" = "left_office"