Later, he led a military force against Tecumseh's Confederacy at the Battle of Tippecanoe in 1811, where he earned the nickname 'Old Tippecanoe'. He was promoted to major general in the Army in the War of 1812, and in 1813 led American infantry and cavalry at the Battle of the Thames in Upper Canada.Harrison began his political career in 1798, when he was appointed Secretary of the Northwest Territory, and in 1799 he was elected as the territory's delegate in the House of Representatives. Two years later, President John Adams named him governor of the newly established Indiana Territory, a post he held until 1812. Four years later, the party nominated him again with John Tyler as his running mate, and the Whig campaign slogan was 'Tippecanoe and Tyler Too'. They defeated Van Buren in the 1840 United States presidential election, making Harrison the first Whig to win the presidency.