Task: Text Categorization
Input (English): After his time in office, this president was then elected as a member of the House of Represenatives for 17 years. As Secretary of State, he authored the Monroe Doctrine, and thanks to the support of Henry Clay, his presidential election in 1824 was successful, though this was deemed a ""corrupt bargain"" by opponents. For 10 points, name this sixth U.S. President.
Output (English): History