The name "Texas" comes from the Caddoan word "tejas," which means "friends" or "allies." The Spanish explorers in the 16th century used this term to refer to the area and its indigenous peoples. Texas was originally a part of New Spain, then Mexico, and finally an independent republic before joining the United States in 1845.