How ironic! Judge Joe Brown is getting a taste of his own medicine.

The former TV judge posed for the angry mugshot above after he was arrested and charged with five counts of contempt of court for becoming verbally abusive at a Memphis juvenile court on Monday (Mar 24).

TMZ reports:

Brown showed up to court Monday to represent someone in a child support case — but was turned away by court staff, who informed Brown they had no record of the case in question.

Brown reportedly lost it … becoming verbally abusive and was warned several times to quiet down.

We’re told Brown — who is running for D.A. of Shelby County — was “playing to the peanut gallery” and “incited a near riot.”

Brown reportedly ignored the judge and was subsequently arrested for contempt of court.

Brown was cited for contempt 5 times and ultimately ordered to spend 5 days in jail. He left under his own power and was screaming the entire time.

Be the first to receive breaking news alerts and more stories like this by subscribing to our mailing list.