New York City Mayor Zohran Mamdani signed a law Tuesday giving qualified nonprofit organizations an early opportunity to make offers on certain distressed residential buildings before owners put them on the open market. The Community Opportunity to Purchase Act, known as COPA, is intended to help preserve affordable housing and keep residents in their homes.

The law applies to eligible properties across the five boroughs. City officials estimated it would affect about 2,100 properties. It will take effect one year after the signing, according to the reported terms of the legislation.

The measure followed years of debate and was revised before passage. The City Council approved it last month by a veto-proof 38-9 vote, according to the Post. Mamdani signed it at a news conference in Brooklyn, outside a housing development in Cypress Hills.

How does the bidding process work?

When an eligible building is going up for sale, its owner must notify the city’s Department of Housing Preservation and Development. Qualified nonprofits then have 20 days to tell the city and owner they are interested, followed by a period of up to 70 days to make an official offer. The city is to create a list of eligible nonprofit groups with experience and the resources to buy and maintain affordable housing.

Owners are not required to accept a nonprofit’s initial offer. They may pursue an outside buyer, but must give the nonprofit a chance to match that buyer’s terms. The nonprofit has 15 days to match; if it does, the owner must sell to it, the Post reported.

What changed before passage?

The legislation drew objections from property owners and other critics, who argued it interfered with private property sales. Former Mayor Eric Adams vetoed an earlier version, according to NY1. The final bill narrowed which buildings qualify and defined distress using housing-code violations, NY1 reported.

Council member Sandy Nurse, the bill’s sponsor, said the program is meant to get at-risk buildings into the hands of housing organizations that can work with tenants and repair apartments. The law does not require an owner to accept the first nonprofit offer, but it gives a qualified organization the opportunity to match an outside bid.