Treaty of Ghent
During negotiations to end the War of 1812, which culminated in the Treaty of Ghent, Shaler was appointed Secretary to the U.S. peace delegation. His efforts were considered to be ineffective, largely because he formed friendships with Jonathan Russell and Henry Clay, which made John Quincy Adams distrustful.