Before becoming a US territory in 1848, Arizona was part of Mexico. The Mexican government established the region as part of the state of Sonora, but it later became its own separate territory.