Miguel Cotto battles Antonio Margarito during their WBA Junior Middleweight Championship boxing match in New York on Dec. 4, 2011.
Miguel Cotto, left, battles Antonio Margarito during their WBA Junior Middleweight Championship boxing match in New York on Saturday. Mike Segar/Reuters

Puerto Rico's Miguel Cotto avenged his controversial loss to Mexico's Antonio Margarito three years ago when he won Saturday to retain his World Boxing Association super-middleweight world title at Madison Square Garden in New York.

The referee stopped the fight before the start of the 10th round when ringside doctors ruled that Margarito was not fit enough to continue.

Cotto was already well ahead on points at the time on all three judges' cards.

Margarito's right eye, which had required surgery after he was brutally beaten by Manny Pacquiao, was closed shut after he had been hit so many times by Cotto. Cotto improved his career record to 37-2 (30 KO), while Margarito fell to 38-8 (27 KO).

(Reporting by Julian Linden; Editing by Alastair Himmer)