The restrictive law was first enacted in 1864, before Arizona was even a state.

https://www.teenvogue.com/story/arizona-supreme-court-abortion-ban