A controversial rezoning plan of the SoHo and NoHo neighborhoods of Manhattan will now become reality after the City Council approved the proposal on Wednesday at its last full meeting of the term.

It’s the last piece of Mayor Bill de Blasio's eight-year effort to rezone neighborhoods to create more affordable housing units.

“It was time to do something to bring the community into the 21st century and really make it a community for everyone,” the mayor said Wednesday morning at a news conference.

The plan, which was approved by a vote of 43-5, will add about 3,000 new residential units, including nearly 1,000 units considered affordable for low- and middle-income New Yorkers, and includes investment in arts, culture and streets, according to the mayor.

“This is a tremendously important moment not just because of new housing and jobs and the opportunity for local businesses to do better, but also because it says we need affordable housing everywhere in New York City, including in the most privileged communities.”

The plan faced an uphill battle for more than a year, with opponents arguing the plan would drastically alter the historic culture of the area, which came to be known as an artists haven when many took over industrial spaces in the 1960s and 70s.

“The final zoning map and text are a product of countless hours of negotiation with the Administration and in-depth discussion with community stakeholders,” Councilwoman Margaret Chin, who represents the affected area in SoHo, said in a statement. “As a City Council Member, I believe it is my responsibility to create housing opportunities in high-opportunity neighborhoods for low-income New Yorkers, and I am confident that this rezoning accomplishes that goal.”

The 56-block span in Lower Manhattan is bound by Canal Street to the south, Houston Street and Astor Place to the north, Lafayette and the Bowery to the east and Sixth Avenue and West Broadway to the west.