Texas (/ˈtɛksəs/ TEK-səss) is the most populous state in the South Central region of the United States. It borders Louisiana to the east, Arkansas to the northeast, Oklahoma to the north, New Mexico to the west, and an international border with the Mexican states of Chihuahua, Coahuila, Nuevo León, and Tamaulipas to the south and southwest. Texas has a coastline on the Gulf of Mexico to the southeast. Covering 268,596 square miles (695,660 km) and with over 31 million residents as of 2024, it is the second-largest U.S. state by both area and population. Texas is nicknamed the "Lone Star State" for the single star on its flag, symbolic of its former status as an independent country, the Republic of Texas.
Spain was the first European country to claim and control Texas. Following a short-lived colony controlled by France, Mexico controlled the land until 1836 when Texas won its independence, becoming the Republic of Texas. In 1845, Texas joined the United States of America as the 28th state. The state's annexation set off a chain of events that led to the Mexican–American War in 1846. Following victory by the United States, Texas remained a slave state until the American Civil War, when it declared its secession from the Union in early 1861 before officially joining the Confederate States on March 2. After the Civil War and the restoration of its representation in the federal government, Texas entered a long period of economic stagnation.