California Gov. Jerry Brown has vetoed a bill that would have let bars in some cities, including Long Beach, serve alcohol until 4 a.m.

He rejected the legislation Friday because he says it would cause more drunken driving. California lets bars serve alcohol until 2 a.m. Brown says the bill would have added two hours of early morning “mayhem.”

Proposed by Sen. Scott Wiener, D-San Francisco, SB 905 would allow nine California cities to decide whether to extend alcohol sales at bars, nightclubs and restaurants. The five-year pilot program would have kicked off Jan. 1, 2021, and was to include Long Beach, Sacramento, San Francisco, Los Angeles, Oakland, Palm Springs, West Hollywood, Cathedral City and Coachella.

Wiener said earlier the bill would allow for local control over nightlife, “granting flexibility to cities to allow bars to stay open later in certain neighborhoods or for special events if that’s what the community decides is best.”

Assemblyman Patrick O’Donnell, D-Long Beach, voted against the bill. It also received push back from groups such as Mothers Against Drunk Driving.

Brown also vetoed a bill that would have opened the door for parents to give edible marijuana to their children on school grounds to treat medical conditions if permitted by a school board.

Brown said in his veto message that he’s concerned about exposing youth to marijuana and believes the bill is too broad.