Los Angeles (CNN) -- Former ESPN commentator Jay Anthony Mariotti was sentenced to five years' probation and 90 days of community labor Tuesday after pleading no contest to charges he stalked and assaulted his former girlfriend, the Los Angeles District Attorney's office said.
Mariotti, 52, of Santa Monica, California, was also ordered to complete a 52-week domestic violence course and must show proof of enrollment at his next court appearance on October 3, said spokeswoman Jane Robison of Los Angeles County District Attorney's Office.
Mariotti pleaded no contest to the five charges against him: stalking, corporal injury to a spouse or cohabitant, assault by means likely to produce great bodily injury -- all felonies -- and two misdemeanor counts of disobeying a domestic court order, the prosecutor's office said.
"You can say that he threw himself at the mercy of the judge over prosecutors' objections," Robison said. "We thought he should get some time in jail."
Mariotti was convicted of grabbing his former girlfriend outside a restaurant in the Venice neighborhood of Los Angeles about midnight on April 15, pulling out a chunk of her hair and taking away her cell phone while shouting at her, Robison said.
Last year, Mariotti was convicted of misdemeanor domestic battery against the same former girlfriend after a confrontation at another California restaurant, Robison said.