SAN FRANCISCO (KRON) — San Francisco City Attorney Dennis Herrera announced a settlement worth $60 million to San Francisco tax payers in the Academy of Art University lawsuit on Monday.

The agreement includes $20 million in cash, including penalties, and a major contribution to a program that helps low income tenants at risk of eviction.

The deal also includes providing a minimum of 160 units for student housing, worth $40 million. Half of those units must be move-in ready within 18 months.

This is the largest monetary award the city has reached in a code enforcement case.

The City Attorney’s Office filed a lawsuit in San Francisco Superior Court on May 6, 2016 against the university for continuously ignoring various city land-use rules.

One of their major offenses was leasing out over thirty properties that violated zoning, signage, environmental, historical preservation, or building code requirements.

Among the unauthorized uses were 160 affordable residential units that the academy illegally converted into student housing. Another 140 units were removed from the city’s stock of rent-controlled housing.

Herrera had this to say about the settlement:

Academy of Art University and its real estate affiliates behaved for more than a decade like they were above the law. We’ve ensured those days are over. After years of meeting our good faith with bad faith, the academy has finally agreed to do right by the people of San Francisco. I look forward to the academy taking this new path, one where they follow the rules and are a positive influence in their hometown. This day has been a long time in the making. Our work here sends a clear message: No matter how wealthy or politically connected you may be, the same rules apply to everyone.”