Florida Territory
Beginning in late 1835, Osceola and the Seminole allies began a guerrilla war against the U.S. forces. Numerous generals fought and failed, succumbing to the heat and disease as well as lack of knowledge of the land. It was not until General Thomas Jesup captured many of the key Seminole chiefs, including Osceola who died in captivity of illness, that the battles began to die down. The Seminoles were eventually forced to migrate. Florida joined the Union as the 27th state on March 3, 1845. By this time, almost all of the Seminoles were gone, except for a small group living in the Everglades.
Adams–Onís Treaty
The Adams–Onís Treaty of 1819, also known as the Transcontinental Treaty, the Florida Purchase Treaty, or the Florida Treaty, was a treaty between the United States and Spain in 1819 that ceded Florida to the U.S. and defined the boundary between the U.S. and New Spain. It settled a standing border dispute between the two countries and was considered a triumph of American diplomacy. It came in the midst of increasing tensions related to Spain's territorial boundaries in North America against the United States and Great Britain in the aftermath of the American Revolution; it also came during the Latin American wars of independence.