Question: The United States acquired Florida from Madrid in exchange for settling a boundary dispute through what treaty?
Sentence (from "Legislative Council of the Territory of Florida"): The territory of Florida was acquired by the U.S. in 1821 under the Adams–Onís Treaty.
Relevant evidence: Yes