California Gov. Gavin Newsom Gavin NewsomOVERNIGHT ENERGY: California seeks to sell only electric cars by 2035 | EPA threatens to close New York City office after Trump threats to 'anarchist' cities | House energy package sparks criticism from left and right California seeks to sell only electric cars by 2035 EPA head questions connection of climate change to natural disasters MORE (D) on Friday signed a bill banning smoking and vaping on state beaches and in state parks.

The bill, introduced by state Sen. Steve Glazer (D), would subject people who violate the new law to a fine of up to $25.

Glazer told the Los Angeles Times after Newsom signed the legislation that it would create "a cleaner, safer, and healthier environment for people, fish and wildlife."

"Cigarettes are one of the biggest polluters on our beaches. It harms people through second hand smoke and kills fish which are affected by the tainted trash," he said.

ADVERTISEMENT

The state has also faced a series of wildfires, which Glazer said the bill could help prevent.

"Many forest fires have been caused by discarded cigarettes and this bill can help there too," Glazer told the Times.

Under the bill, smoking is allowed in parking lots and on paved roads. According to the newspaper, state officials can also designate other areas for smoking.

Newsom's predecessors Jerry Brown (D) and Arnold Schwarzenegger (R) vetoed similar legislation.

Vaping products have recently come under scrutiny after a series of illnesses and deaths have been linked to vaping.