Stephen Jackson pleaded guilty Wednesday to a felony count of criminal recklessness for firing a gun outside a strip club last fall and was ordered to pay a $5,000 fine and perform 100 hours of community service.

Misdemeanor counts of battery and disorderly conduct were dismissed as part of the agreement with prosecutors, and a judge added a year of probation to Jackson's sentence.

Jackson, whom the Indiana Pacers traded to the Golden State Warriors in January, said after the brief court appearance that he would have done the community service anyway.

"Community service has always been a part of my life," he said.