The European Parliament and EU member countries have reached a deal to ban the sale of new gasoline and diesel cars and vans by 2035.

EU negotiators sealed on Thursday night the first agreement of the bloc’s “Fit for 55” package set up by the Commission to achieve the EU’s climate goals of cutting emissions of the gases that cause global warming by 55% over this decade.

The EU Parliament said the deal is a “clear signal ahead of the UN COP27 Climate Change Conference that the EU is serious about adopting concrete laws to reach the more ambitious targets set out in the EU Climate Law.”

The EU wants to drastically reduce gas emission from transportation by 2050 and promote electric cars, but a report from the bloc’s external auditor showed last year that the region is lacking the appropriate charging stations.

“This is a historic decision as it sets for the first time a clear decarbonization pathway – with targets in 2025, 2030 and 2035 and aligned with our goal of climate neutrality by 2050,” boasted Pascal Canfin, the chair of the environment committee of the European Parliament. “This sector, which accounts for 16% of European emissions at the moment, will be carbon neutral by 2050.”