Question: The United States acquired Florida from Madrid in exchange for settling a boundary dispute through what treaty?
Sentence (from "Adams–Onís Treaty"): 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; and also during the Latin American Wars of Independence.
Relevant evidence: No