In 1802, Spain returned most of the land to France. But it kept about 7,500 square miles. In 1803, most of the land including the modern-day state of Kansas was acquired by the United States from France as part of Louisiana Purchase.