Indigenous peoples inhabited the region for thousands of years. Historic and current federally recognized tribes include the Arapaho, Crow, Lakota, and Shoshone. During European exploration, the Spanish Empire was the first to "claim" southern Wyoming. With Mexican independence, it became part of that republic. After defeat in the Mexican–American War, Mexico ceded this territory to the U.S. in 1848.
