The Adams–Onís Treaty is signed on February 22, 1819, whereby Spain ceded East Florida and renounced all claim to West Florida. Spain received no direct compensation, but the United States agreed to assume liability for $5 million in damage done by American citizens who rebelled against Spain.
The Treaty, ratified in 1821 also defined the western limits of the Louisiana Purchase and Spain surrendered of its claims to the Pacific Northwest. In return, the United States recognized Spanish sovereignty over Texas.