FREEHOLD, N.J. — A bookkeeper who stole more than $1 million from her former employer to fuel her addictions is now headed to state prison.

Virginia DeBerri received a six-year sentence on Friday. The 53-year-old Brick woman had pleaded guilty in January to theft by unlawful taking.

Monmouth County prosecutors say DeBerri wrote herself more than 500 unauthorized company checks over a five-year period and deposited them into her personal bank account. She also increased her own salary by manipulating the company’s payroll without authorization.

DeBerri’s attorney said his client has long struggled with Xanax, alcohol and gambling addictions and used the stolen money to finance those addictions.