Mark Williams won't be wearing his Batman costume for a while.
He was arrested after being spotted on the roof of a Michigan building in his superhero get-up.
Williams said he wanted to prevent crime.
He's pleaded guilty to attempted resisting-obstructing an officer.
A judge sentenced Williams to six months of probation.
A local paper reports Williams has also been ordered not to wear anymore costumes.