California's director of the Department of Health Care Services has resigned after writing a Facebook post that slammed anti-vaccine advocates.

Jennifer Kent announced Tuesday she was stepping down from her role with the department, a position she has held since 2015.

"One of the hard things about this job is leaving. However, I wanted you to know that I have submitted my resignation, effective the end of this month," she wrote in an email to employees. "Between now and my last day, I will be working to ensure that all of the activities that are currently underway are transitioned to the amazing team that already exists here at DHCS."

Although a reason was not given for her resignation, the San Francisco Chronicle reports it comes on the heels of a Facebook post mocking anti-vaxxers who have been recently protesting in Sacramento.

"The Capitol is filled with a bunch of flat-earthers today," Kent wrote on Facebook. "My poor sweet Bacteria Bear is dripping with unvaccinated booger-eater germs. #believeinscience #vaccinateyourgoddamnkids."

The Chronicle reported the "bacteria bear" is a reference to the bronze grizzly bear statue outside of the Gov. Gavin Newsom's office in Sacramento.

Opponents of vaccination have taken to the capitol to protest SB276 and SB714, bills that crack down on medical exemptions for the vaccines children must have before starting school. On Monday, Senate proceedings were delayed for over an hour as protestors took over the public gallery, some chanting "My kids, my choice."

Newsom signed both bills into law later that evening.

The Department of Health Care Services oversees health care services for 13 million Californians, including the state's Medi-Cal program.

Katie Dowd is an SFGATE Senior Digital Editor. Contact: katie.dowd@sfgate.com | Twitter: @katiedowd