In 1819, Spain signed the Adams-Onis Treaty, ceding Florida to the United States and redefining the boundary between U.S. and Spanish territories from Louisiana to the Pacific Ocean.