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. 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. Peck was acquitted by the Senate.