Buchanan is the only president with military experience who was not an officer. He is also the last President of the United States to have served in the War of 1812. By 1820, the Federalist Party had largely collapsed, and Buchanan ran for the United States House of Representatives as a 'Republican-Federalist.' During his tenure in Congress, Buchanan became a supporter of Andrew Jackson and an avid defender of states' rights. In Washington, he became personally close with many southern Congressmen, including William R. King of Alabama. Buchanan tended to view many New England Congressmen as dangerous radicals. He was appointed to the Committee of Agriculture in his first year, and he eventually became Chairman of the U.S. House Committee on the Judiciary, leading impeachment proceedings of Judge James H. Peck of the United States District Court for the District of Missouri, arguing that Peck had abused his position.