In one of the biggest victories for U.S. climate action in a decade, Congress has moved to phase out a class of potent planet-warming chemicals and provide billions of dollars for renewable energy and efforts to suck carbon from the atmosphere as part of the $900 billion coronavirus relief package. The legislation, which Congress approved moments before midnight Monday, wraps together several bills with bipartisan backing and support from an unusual coalition of environmentalists and industry groups.

It will cut the use of hydrofluorocarbons (HFCs), chemicals used in air conditioners and refrigerators that are hundreds of times worse for the climate than carbon dioxide. It authorizes a sweeping set of new renewable energy measures, including tax credit extensions and new research and development programs for solar, wind and energy storage; funding for energy efficiency projects; upgrades to the electric grid and a new commitment to research on removing carbon from the atmosphere. And it reauthorizes an Environmental Protection Agency program to curb emissions from diesel engines.

“This is perhaps the most significant climate legislation Congress has ever passed,” said Grant Carlisle, a senior policy adviser at the Natural Resources Defense Council.

The HFC measure, which empowers the EPA to cut the production and use of HFCs by 85 percent over the next 15 years, is expected to save as much as half a degree Celsius of warming by the end of the century. Scientists say the world needs to constrain the increase in the average global temperature to less than 2 degrees Celsius compared with preindustrial times to avoid catastrophic, irreversible damage to the planet. Some places around the globe are already experiencing an average temperature rise beyond that threshold.

“It doesn’t have regulations or mandates in it,” Sasha Mackler, director of the energy project at the Bipartisan Policy Center, said of the energy package. “But from the bottom up it’s advancing the technology that’s needed. … This is definitely a bill that creates the enabling conditions for decarbonization.”