SACRAMENTO (CBS13) – Local activist Sean Thompson has pleaded no contest to a disturbing the peace charge in a pie attack on former Sacramento mayor Kevin Johnson.

Thompson was sentenced to time served, meaning he was freed following Thursday’s plea deal.

READ MORE: CBS13 Poll: Did You Do Any Black Friday Shopping This Year?

Prosecutors refiled charges against Thompson after a mistrial in May.

READ MORE: The Ultimate Guide To Black Friday 2021

Thompson previously faced felony assault and misdemeanor battery charges, but a mistrial was declared when the jury deadlocked on May 15.

Thompson says he planned the pie throwing in September as an act of civil disobedience, saying he felt pressure to do something because he believes the mayor didn’t do enough for the homeless and was too focused on the Golden 1 Center.

MORE NEWS: Portland's Robert Covington Fined For Mask Throwing Outburst Against Sacramento Kings

Johnson was subpoenaed, but did not testify in the case. Johnson sought a restraining order against Thompson after the incident, but Thompson was still able to take his case to a Sacramento City Council meeting later that week.