Cuttino Mobley has agreed to dismiss his amended complaint against Madison Square Garden over the heart condition that resulted in his 2008 retirement according to court documents filed Friday.

Both sides agreed to have the case dismissed "with prejudice" meaning Mobley's claims against the Knicks and their parent company cannot be brought again. No court costs or legal fees are due either side the attorneys agreed in papers filed with the U.S. District Court for the Southern District of New York.

Mobley 37 had sued MSG claiming that the Knicks forced him to retire not because his previously diagnosed heart condition -- hypertrophic cardiomyopathy or an enlarged heart -- rendered him physically unfit to perform but rather to save money on luxury-tax payments. In June 2012 U.S. District Judge Deborah A. Batts granted MSG's motion to dismiss the case without prejudice meaning the action could be brought again. Later that month Mobley filed an amended complaint reiterating his claims.