Historically part of the territory of Alta California in New Spain, Arizona became part of independent Mexico in 1821.