What is the Adams Onis Treaty?

The Adams-Onis Treaty was made in 1819 due to a dispute between North America and Spain for territorial rights within the New World which included several U.S. states.