BALTIMORE (AP) — A man who ran onto the field wearing a Batman costume during two professional sporting events in Baltimore has pleaded guilty to two trespassing counts.

Mark Harvey, 26, received a 180-day sentence, with all but four days suspended. Harvey has already served two days in jail. He tells The Baltimore Sun he will turn himself in Jan. 4 to serve the remainder of the sentence.

READ MORE: Maryland Prepares For Increase In Patients After Roe V. Wade Overturned

Harvey ran on the field at Oriole Park at Camden Yards on opening day in April. He repeated the stunt during a Baltimore Ravens game in September. He was only partially clothed during the second incident.

READ MORE: Johns Hopkins Experts Describe Updated Gun Control Laws As 'Great First Step'

Harvey says prosecutors wanted to “make an example” of him to deter anyone else from running on the field.

MORE NEWS: Baltimore's Mayor Scott Frees Up $300K In Funding For Pro-Abortion Organizations To Assist Women

(Copyright 2012 by The Associated Press. All Rights Reserved.)