Louis DiLeo, who was let go as Linden’s municipal judge last year amid ethics charges, is suing the city and its mayor, claiming there were ulterior motives for his termination.

In a lawsuit filed Wednesday in Union County Superior Court, DiLeo alleges he was fired because he refused to fix a traffic ticket at the mayor’s request and because he complained to the county assignment judge about his overloaded docket when the mayor would not act.