One of the leading nonbank mortgage servicing companies agreed Thursday to pay millions of dollars in relief for Floridians harmed by its mortgage servicing practices.

But lawyers who litigated against the company in separate cases criticized the agreement as weak.