Owners of a rat-infested Newark apartment complex have agreed to conduct a major renovation under terms of a class action settlement that was signed Tuesday by a judge in Essex County Superior Court.

While class actions are widely employed in certain areas, like defective drugs, the Newark case is thought to be the first time tenants have brought a class action against a New Jersey landlord, lawyers in the litigation said.