His job was to safeguard cash, cars and other items that Fort Lauderdale police officers confiscated from suspected criminals.

But Gerard Brady is headed to federal prison next month after he admitted he stole more than $310,000 in cash from the agency’s forfeiture program between late 2012 and 2016.

Brady, 34, of West Palm Beach, was sentenced last week to one year and four months in prison. He was ordered to turn himself in to begin serving his punishment on March 9.

The former civilian employee, whose annual salary was $48,900, resigned last year several months after he was caught.

Brady was hired in August 2010 and worked as the police department’s forfeiture coordinator, overseeing seized money, cars, planes, boats and other property. Forfeiture money is used to help law enforcement efforts in the region.

Starting in December 2012, Brady began skimming money from the cash he was supposed to deposit and altering documents to cover his tracks.

His theft grew more brazen as the years passed, court records show.

He stole a little more than $5,500 the first year, about $5,300 the second year, a little more than $7,000 the third year and close to $44,000 the fourth year.

And in the first 10 months of 2016, just before he was arrested, he stole more than $248,500.

The department began an investigation after someone noticed a discrepancy between the amount seized from suspects and the amount that Brady eventually deposited in the agency’s bank accounts.

Investigators put some cash and a hidden camera in a vehicle Brady had to inspect in the department’s tow yard in early October 2016. Brady left the cash but stole the camera, authorities said. He was questioned and admitted what he had done.

He immediately returned some of the cash he stole and began repaying some of the rest.

The defense said Brady, an Iraq War veteran, was using the money to provide for his family.

In November, Brady pleaded guilty to stealing from programs that receive government money. As part of his punishment, he has been ordered to repay more than $225,000 he still owes.

“The defendant stole from a law enforcement agency working to serve its community. [He] blatantly abused and violated the Fort Lauderdale Police Department’s trust in the worst way,” prosecutors wrote in their sentencing memo.

“Mr. Brady is ashamed and embarrassed by his conduct in this case …His choice to embezzle money from his former employer is one he regrets and will have to live with for the rest of his life,” the defense wrote, requesting house arrest and probation.