 Following the War of 1812 and United States victory over Britain, it negotiated with Spain to take control of Florida.In an 1819 Transcontinental Treaty (Adams-Onis) with the United States, Spain renounced its claims to West Florida and ceded East Florida to the U.S. for US$5 million.In 1821, with Andrew Jackson as provisional governor, Pensacola was annexed by the United States.