SACRAMENTO, Calif. (AP) — The head of the California Lottery is leaving his job.

The Sacramento Bee reports Hugo Lopez told employees Friday he was stepping down immediately. The move comes as the lottery is under investigation over alleged misconduct including employees misspending money and acting inappropriately during a sales conference.

READ MORE: Getting Answers: Who can penalize you for not getting vaccinated?

A state Department of Justice investigation requested by former Gov. Jerry Brown is ongoing. An audit by the state controller’s office found lottery employees spent money improperly on travel and food.

READ MORE: Stimulus Check Latest: Will You Get A Fourth Relief Payment?

Lopez began leading the department in 2015 and has held jobs at the Department of Motor Vehicles and the treasurer’s office. He’s previously said the department is being “proactive” and “transparent” with investigators.

MORE NEWS: 'He Gives Me Everything To Be': Therapy Dog For Woman In Wheelchair Now Needs Wheelchair Of His Own

Lopez says he’s proud of growing the department’s annual revenue to $7 billion.