Ariz. Rev. Stat. § 38-821
A. A member of a charter city retirement system who is an elected official may apply for a transfer of service credits from the charter city retirement system to the elected officials' retirement plan pursuant to this section if all of the following conditions are met:
B. Service credits qualified in accordance with subsection A may be transferred or redeemed in accordance with the following:
1. If a member's contributions remain on deposit with the charter city retirement system, the following shall be calculated:
2. If a member decides to transfer:
(a) If the amount calculated in paragraph 1, subdivision (b) of this subsection is greater than the amount calculated in paragraph 1, subdivision (a) of this subsection: