Americans had continuing land disputes with the Spanish, even after taking control of much of this territory through the Louisiana Purchase (1803) from France. In 1810 the European-American settlers in parts of West Florida rebelled and declared their freedom from Spain. President James Madison declared that the region between the Mississippi and Perdido rivers, which included most of West Florida, had already become part of the United States under the terms of the Louisiana Purchase. The section of West Florida between the Pearl and Perdido rivers, known as the District of Mobile, was annexed to Mississippi Territory in 1812; Americans from the United States occupied Kiln, Mississippi, in 1813.