LOS ANGELES (AP) — A Southern California pediatrician and outspoken critic of mandatory vaccinations has been placed on probation for 35 months.

Dr. Bob Sears says in a Facebook post on Friday that he accepted a settlement with the state medical board.

READ MORE: 81 Pounds Of Meth, 11 Pounds Of Fentanyl Tablets Found After CHP Pulls Over Speeding Car

He had been accused of failing to obtain a detailed medical history before writing a 2014 letter excusing a toddler from immunizations.

Officials said he wrote the letter after the 2-year-old’s mother described an adverse reaction to an earlier vaccination.

READ MORE: Gov. Newsom Pushes Full California Public School Reopening by Fall As Many Districts Resist

Sears says in his post that he accepted the settlement “since it was likely that I’d get probation anyway.”

He’s authored a popular book on vaccines and advocates a staggered, alternative vaccination schedule that contrasts with recommendations by the Centers for Disease Control and Prevention.

MORE NEWS: Prosecutor: Kristin Smart Was Killed During 1996 Rape Attempt

Copyright 2018 The Associated Press.