ANNAPOLIS, Md. (AP) — Anne Arundel County has settled a pension dispute with three part-time state’s attorneys.

Under the deal, the three workers won’t have to repay hundreds of thousands of dollars in pension benefits they were mistakenly paid.

READ MORE: Dundalk High School Teacher Charged With Assaulting 2 Students

Greg Jimeno, a lawyer for two of the employees, tells The Capital of Annapolis that the impetus for the settlements was a new law passed that bars the county from taking back pension benefits mistakenly paid to an employee.

READ MORE: Baltimore-Odesa Sister City Committee Aims To Raise $500K For Ukraine In A Week

Four employees of the office sued after the county began taking money out of their paychecks after officials realized that the Office of Personnel had mistakenly failed to reduce the pension contributions and had been paying them at the full rate.

The county settled one of the cases last December.

MORE NEWS: UMMS Employees Learn To Intervene, Save Lives On National Stop The Bleed Day

(Copyright 2013 by The Associated Press. All Rights Reserved.)