The roads will be soon filled with more electric cars in New York. A new law bans the sale of gas-powered cars after 2035.

In an effort to reduce climate-altering greenhouse gas emissions and air pollution, Governor Kathy Hochul signed legislation, requiring all new cars and trucks be zero-emissions by 2035.

"The new law and regulation mark a critical milestone in our efforts and 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," Governor Hochul said.

Off-road vehicles will see changes in the years ahead too. Under the new law, new off-road vehicles and equipment sold in New York are targeted to be zero-emissions by 2035, and new medium-duty and heavy-duty vehicles by 2045.

There are over 81,000 electric cars already on the road in New York state. If you don't know anything about them, NYSERDA has developed EValuateNY, a tool that compiles statistics on the electric car market, including where registrations are, what makes and models are most popular, and even where you can find chargsing stations all across the state.

Not only will we soon see more electric cars on New York roads, but we'll also start seeing more charging stations in parking lots. Will, there be someone there to pump, I mean charge it for us like at some gas stations? Or is that a thing of the past too?

LOOK: See how much gasoline cost the year you started driving

To find out more about how has the price of gas changed throughout the years, Stacker ran the numbers on the cost of a gallon of gasoline for each of the last 84 years. Using data from the Bureau of Labor Statistics (released in April 2020), we analyzed the average price for a gallon of unleaded regular gasoline from 1976 to 2020 along with the Consumer Price Index (CPI) for unleaded regular gasoline from 1937 to 1976, including the absolute and inflation-adjusted prices for each year.

Read on to explore the cost of gas over time and rediscover just how much a gallon was when you first started driving.

6 Things That Are No Longer in Cars

Things you don't find in cars anymore.

15 Items in Short Supply Due to COVID-19

From gas, tires and bicycles to lumber, coffee and air conditioners, here's 15 items that will are in short supply.