SCHEMA:
CREATE TABLE table_name_47 (party VARCHAR, left_office VARCHAR)
USER:
What is the party of the politician who left office on January 12, 1857

QUERY:
SELECT party FROM table_name_47 WHERE left_office = "january 12, 1857"