Gas-powered vehicle sales will be effectively phased out across New York state no later than the year 2035.

Gov. Kathy Hochul (D) recently signed Assembly Bill A4302 into law, which aims to make all in-state new passenger car and truck sales zero-emissions within 14 years.

“New York is implementing the nation’s most aggressive plan to reduce the greenhouse gas emissions affecting our climate and to reach our ambitious goals, we must reduce emissions from the transportation sector–currently the largest source of the state’s climate pollution,” she said in a statement. “The new law and regulation … will further advance the transition to clean electric vehicles while helping to reduce emissions in communities that have been overburdened by pollution from cars and trucks for decades.”

The legislation is also promised to help the Empire State meet its goal of lowering greenhouse gas emissions by 85 percent by 2050, according to KMGH-TV.

State agencies will also establish inexpensive charging options for zero-emission vehicles in all neighborhoods to increase sustainable mobility, and encourage people to walk and ride bikes.

Multiple agencies will collaborate on designing a market development strategy, ensuring more zero-emission vehicles are available.

California Gov. Gavin Newsom (D) previously prohibited selling new gas-powered passenger automobiles and trucks from as early as 2035.

Greenhouse gas emissions will be reduced by more than 35 percent across the Golden State, if that goal is met according to the governor’s office. Agencies will develop regulations to help meet the deadline.

The directive also aims for California’s medium- and heavy-duty vehicles to have zero emissions by 2045. New York aspires to meet the goal in that same year.

California, which accounts for more than 10 percent of all new national vehicle sales, already has restrictions limiting the amount of gas-powered vehicles according to the Associated Press. The state wad at odds with previous President Donald Trump over gasoline pollution many times.