CASTRO VALLEY — A 51-year-old Castro Valley woman recently took a plea deal for throwing hot coffee on a Muslim man during a confrontation over his religion at a Castro Valley park last year, an incident that was caught on video and went viral on the internet.

Denise Slader, also known as Denise Sanchez, was sentenced in August to three years court probation, and 20 days in jail that can be served via the Alameda County Sheriff’s alternative work program, according to the Alameda County District Attorney’s Office. The sentence included orders to complete 26 anger management classes and 60 hours of volunteer work, and to stay away from the victim, San Francisco resident Rasheed Albeshari, and Chabot Regional Park.

“It was an unfortunate incident and it would appear that she has gained insight into her own inappropriate actions,” Slader’s attorney, Robert Beles, said Friday.

Authorities say Albeshari and his friends had just finished praying at the park on Dec. 6, 2015 when Slader confronted them about their religion. Slader was accused of throwing coffee at Albeshari and hitting him with an umbrella despite a park ranger’s attempt to diffuse the situation.

Slader’s attorney said in court that Slader suffered harassment as a result of Albeshari’s cell phone video of her making anti-Muslim rant went viral online.

Slader, a longtime California Department of Corrections and Rehabilitation employee, pleaded no contest last month to misdemeanor battery in connection with the incident. In exchange for the plea, the court dismissed a misdemeanor hate crime charge.