Elsa/Getty Images (FORT LAUDERDALE, Fla.) -- Former NFL wide receiver Chad Johnson was sentenced to 30 days in jail on Monday for a probation violation in a domestic violence case by a judge who angrily rejected a no-jail plea deal after Johnson playfully slapped his attorney on the backside in court.

Johnson had reached a deal with with prosecutors calling for community service and counseling instead of jail. Broward County Circuit Judge Kathleen McHugh said she would tack on an additional three months' probation because Johnson had failed to meet with his probation officer during three previous months.

Things began to go downhill when Johnson playfully smacked his attorney Adam Swickle on the backside after McHugh asked him if he was satisfied with the deal. After the courtroom began to laugh, McHugh turned around and said that she wouldn't accept the plea deal.

"I don't know that you're taking this whole thing seriously. I just saw you slap your attorney on the backside. Is there something funny about this?" McHugh said, slapping the plea deal document down on her desk. "The whole courtroom was laughing. I'm not going to accept these plea negotiations. This isn't a joke."

The 35-year-old Johnson caught 766 passes for over 11,000 yards and 67 touchdowns while playing for the Cincinnati Bengals and New England Patriots.