NEW YORK (CBSNewYork/AP) — Former Knicks star Charles Oakley has officially been cleared of misdemeanor assault charges stemming from a scuffle with Madison Square Garden security guards last year.

The New York Post reports that a Manhattan judge dismissed the charges Friday. Oakley and prosecutors had agreed to a deal last August that the charges would be erased if Oakley stayed out of trouble for six months.

READ MORE: Gas Eyed As Cause Of House Explosion That Killed 1 Woman, Injured 8 Others In The Bronx

Oakley’s lawyer, Alex Spiro, said Oakley has been “completely vindicated.”

Oakley played for the Knicks from 1988 to 1998. But he’s had a rocky relationship with the team in recent years.

READ MORE: NYPD Officer Released From Hospital After Being Shot In The Bronx

The onetime star was accused of striking a security guard during a game last Feb. 8.

Oakley has filed a lawsuit against Knicks owner James Dolan alleging that he was the victim of assault, battery, false imprisonment and slander.

Dolan has filed a motion seeking to have the lawsuit dismissed.

MORE NEWS: New York AG: Trump Organization Misled Banks And Tax Officials

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)