HOLYOKE, Mass. (AP) — The former assistant clerk and bail magistrate at Hampden Superior Court who was charged with stealing thousands of dollars in bail money will avoid jail time if he stays out of trouble for three years.

A lawyer for William Eason tells The Republican (http://bit.ly/1mU4Egr ) newspaper that his client reached a deal with prosecutors.

As part of the agreement, Eason, suspended without pay in February 2013, agreed to resign and admitted there were sufficient facts for a guilty finding.

Prosecutors will dismiss the charges if he avoids further legal trouble until April 2017.

Eason's lawyer says his client is disappointed and embarrassed by his actions.

Prosecutors say the 61-year-old Eason, who worked at the court for 26 years, sometimes took bail money and used it for personal expenses. The money was repaid.

___

Information from: The Springfield (Mass.) Republican, http://www.masslive.com/news/