Ariz. Rev. Stat. § 12-1174
It is not material whether a tenant received possession from his landlord or became his tenant after obtaining possession.