Question: Why did Madrid cede the territory to the US
Sentence: Madrid therefore decided to cede the territory to the United States through the Adams-Onís Treaty, which took effect in 1821.
Answer in sentence: no