ALEXANDRIA, Va. (AP) — The U.S. Justice Department has reached a settlement in a complaint against a Virginia county and the state’s retirement system over the employment rights of a Virginia Army National Guard soldier.

The federal government says Guard Maj. Mark Gunn had been a Prince George County Police Department detective for 14 years when he was called to active duty in 2016.

However, U.S. attorneys say the county refused to let him return to that position when active duty ended and assigned him to a patrol unit position. Gunn left his police job.

The settlement announced Friday in part gives him more retirement service time and $3,000 in damages.