Vaccines California
Actor Jim Carrey slammed California's new law of mandatory immunization, passed Tuesday, on Twitter. In this photo, a measles vaccine is seen at Venice Family Clinic in Los Angeles, California on Feb. 5, 2015. Reuters/Lucy Nicholson

Actor Jim Carrey slammed California’s Governor Jerry Brown after the state passed a bill Tuesday that requires children entering public school to be fully vaccinated against such infectious diseases as measles and rubella. Carrey has voiced his views against mandatory vaccination since he started dating actress Jenny McCarthy in 2005, who believes that her son’s autism was caused by vaccines. The two, however, split in 2010.

After Brown signed the strictest immunization program into law, Carrey responded with a scathing comment calling him a “corporate fascist.” Carrey also insisted, on Twitter, that he is “pro-vaccine” but against neurotoxin.

Carrey even took a hit at the United States Centers for Disease Control by calling the organization "corrupt" and adding that he is "anti-thimerosal, anti-mercury."

"They say mercury in fish is dangerous but forcing all of our children to be injected with mercury in thimerosol is no risk. Make sense," Carey said in one of the several tweets he posted against the move on Tuesday.

Prior to Tuesday’s bill, parents had the option to exempt their children from vaccinations, depending on their religious beliefs. California has now joined Mississippi and West Virginia to become one of the states without a personal-belief exemption for vaccines, the Associated Press (AP) reported on Tuesday. The report added that medical exemptions will, however, be given to children with medical conditions.

The California law comes in place after last year’s measles outbreak in Disneyland, which affected over 100 people in the U.S. and Mexico, NBC News reported.

"The science is clear that vaccines dramatically protect children against a number of infectious and dangerous diseases," Brown wrote while signing the bill, according to the AP, adding: "While it's true that no medical intervention is without risk, the evidence shows that immunization powerfully benefits and protects the community."