William Wirt was an American author and statesman who is credited with turning the position of United States Attorney General into one of influence. He was the longest serving Attorney General in U.S. history. He was also the Anti-Masonic nominee for president in the 1832 election.