Early explorers arrived in Texas in the 1500s and 1600s from Spain and France, but neither established permanent settlements. In the 1700s and 1800s, Spain and later Mexico colonized the region, establishing missions and cattle ranching. Anglo settlers began arriving in large numbers in the 1800s, and Texas declared independence from Mexico in 1836 to become the Republic of Texas. It later joined the United States as a state in 1846. Texas has since developed a strong economy based around oil industry and is becoming increasingly diverse.