PHILADELPHIA -- The teenage Phillies fan who was stunned by a police Taser after running onto the field was placed on six months' probation on Thursday.

Steve Consalvi was stunned by a Taser after running onto the field at Citizen's Bank Park last month. AP Photo/Matt Slocum

Steven Consalvi, 17, of Gilbertsville, was also ordered by a Philadelphia Family Court judge to complete 80 hours of public service. If he stays out of trouble, Consalvi can have his record expunged in six months, according to the district attorney's office.

Consalvi, who was accompanied by his family, did not comment after the hearing. He had been charged with defiant trespass, disorderly conduct and resisting arrest.

Consalvi jumped onto the field at the top of the eighth inning during a May 3 game between the Phillies and the St. Louis Cardinals. He ran around in circles in the outfield, waving a white towel and dodging two security officers.

A city police officer chased him for about 30 seconds before using a stun gun probe, causing the teen to stumble forward and slide face-first on the grass. Consalvi stayed down for about 30 seconds before standing up and walking off the field.

The incident was captured on video and went viral on the Internet.

Consalvi and his family had previously apologized for the stunt, saying the teen had done it impulsively and had learned a valuable lesson.

A few days later, the Phillies announced that team security guards would be responsible for apprehending those who rush onto the field, then handing them over to police.