How did the United States acquire Florida from Spain?
A.
by agreeing to the Louisiana Purchase
B.
by signing the Treaty of Guadalupe Hidalgo
C.
by defeating Spain in the War of 1812
D.
by signing the Adams-Onís Treaty.