New York City has passed sweeping legislation to curb energy demand from some of its most iconic skyscrapers, including Trump Tower.

The legislation, approved 45 to 2 in the City Council Thursday, is backed by Mayor Bill de Blasio and will push owners of residential and commercial buildings larger than 25,000 sq. feet (2,300 sq. meters) to install new boilers, air conditioning systems, windows and insulation. The goal is to reduce carbon emissions 40 percent by 2030, moving the city toward a goal of 80 percent by 2050.

The Council also voted to require 5-cent fees on all paper bags distributed by stores, starting in March 2020, and to study the feasibility of replacing gas-fired power plants with battery storage systems powered by renewable energy.