Task: Text Categorization
Input (English): In his first State of the Union Address, this President announced the opening of formal diplomatic relations with Austria, Siam, and Muscat. His administration levied trade sanctions on Portugal in retaliation for discriminatory tonnage duties. The author of an Inquiry into the Origin and Course of Political Parties, he refused to provide aid to Governor Joseph Ritner during what was dubbed the Buckshot War. His cabinet included Secretary of War Joel Poinsett and Attorney General Felix Grundy, and he was opposed by a candidate who ran under the slogan Log Cabin and Hard Cider. His vision of a Subtreasury system as a means of reform became reality long after hed fist conceived it as a leader of the Bucktail faction. FTP, name this man who later ran on the Free Soil ticket, the Red Fox of Kinderhook or Little Magician, who succeeded Andrew Jackson as President.
Output (English): History