Task: Text Categorization
Input (English): He proudly labeled the territorial acquisitions he engineered the "epocha," and he proposed a compromise solution to the slavery question, which would allow Florida to enter the union as a slave state but free all children born after 1842. He received the only electoral vote not to go to James Monroe in 1820, and he later nominated his Treasury Secretary Richard Rush as his new Vice-Presidential candidate in his re-election campaign after his former understudy bolted to his opponent's ticket. Later, he presented up to twenty antislavery petitions a year in Congress in defiance of the gag rules. He was the chief U.S. negotiator for the Treaty of Ghent, the defender of the Amistad slaves, and the formulator of the Monroe Doctrine as Secretary of State, but he may be best known for the backroom dealing which defeated Andrew Jackson for this man's one successful national election in 1824. FTP, name this man who won the White House under the "corrupt bargain. "
Output (English): History