however, in 1803, spain receded the territory back to france in the third treaty of san ildefonso. on april 30, 1803, napoleon sold the louisiana territory to the united states in the louisiana purchase. in the early 1800s, kansas was used to hold native americans that were removed from their native lands.