According to Wikipedia:
“Arizona was recognized as a Confederate Territory by presidential proclamation of Jefferson Davis on February 12, 1862.”
The Confederate Territory of Arizona was founded and evacuated by Confederate Troops in 1862. The United States Territory of Arizona was carved out of the U.S Territory of New Mexico in 1863. The two shared the same name, but had different boundaries and existed at different times.