BOSTON (AP) — A Massachusetts judge who allegedly made insensitive racial comments to another judge has agreed to retire early.

The Commission on Judicial Conduct said Michael Creedon retired as a judge on Sept. 19. He was the former First Justice of Falmouth District Court.

Creedon was placed on leave in June in response to a complaint filed against him with the commission.

The panel said Creedon, a former state legislator, agreed to retire early because of the complaint and for family health reasons.

Creedon was due to retire next month under a state rule that judges retire by age 70.