When a public officer, excepting a notary public, his deputy, assistant or employee is required by law or by a board or commission of the respective agencies of the state to give bond for the performance of the duties of his office and the surety of the bond is a corporation, the premiums for the writing of the bonds shall be a public charge of such officer and shall be paid from the expense fund of the agency, or if no expense fund exists, then by the state or county out of the general fund.
A.R.S. § 38-254