During the War of 1812 , McAfee served successively as sergeant , ensign and second lieutenant in the Army of the Northwest in its border campaign , then as quartermaster and lastly as captain of Richard Mentor Johnson 's regiment in the expeditions against the Native Americans . He was made General in the United States Army and commanded a troop raised by order of Gen. Andrew Jackson , that took part in the Battle of New Orleans as well as the Battle of the Thames . In 1816 , his book , '' History of the War of 1812 '' was published . Following his military service , he lived in Harrodsburg , Kentucky , and was reelected to the House in 1819 . In 1821 , he was elected a member of the Kentucky Senate and served in the Senate until resigning his seat in 1824 to run , successfully , for Lieutenant Governor of Kentucky . McAffee was elected as a Democratic-Republican and served from August 24 , 1824 to August 26 , 1828 under Governor Joseph Desha . He cast a tie-breaking vote that prevented the abolition of the " New Court " during the Old Court-New Court controversy in 1825 . After serving as Lt. Governor , he returned to the legislature in 1828 and remained active in Democratic politics , voting for the nomination of Andrew Jackson as president and Martin Van Buren as vice president at the 1832 Democratic National Convention in Baltimore
1832 Democratic National Convention
1832 Democratic National Convention
Robert B. McAfee