From what country did the US obtain Florida?

I think its Spain.......Thats what I found
Its Spain Its Spain Its Spain ITS SPAIN OK