Here is the pertinent statute of frauds in Arizona:
"44-101. Statute of frauds
No action shall be brought in any court in the following cases unless the promise or agreement upon which the action is brought, or some memorandum thereof, is in writing and signed by the party to be charged, or by some person by him thereunto lawfully authorized:
...
6. Upon an agreement for leasing for a longer period than one year, or for the sale of real property or an interest therein. Such agreement, if made by an agent of the party sought to be charged, is invalid unless the authority of the agent is in writing, subscribed by the party sought to be charged."
At the time you made the agreement, was the remaining portion of the lease longer than one year? If so, it would not be enforceable.