What was James K. Polk famous for when he became a president?
Your question seems to ask what Polk had done before being elected President. Although he was the first “dark horse” candidate – meaning nominated by his party over more likely candidates – Polk had already been leader of one of the branches of government. He is the only President to also have been Speaker of the House.