SACRAMENTO — San Francisco could require drivers who want to navigate the world-famous crooked portion of Lombard Street to book their slot ahead of time and pay a toll, if Gov. Gavin Newsom signs a bill the Legislature sent to him Thursday.

AB1605 would allow San Francisco to test a fee and reservation system for the block of Lombard between Leavenworth and Hyde streets. The Assembly gave it final approval by a vote of 54-23.

“It has become increasingly difficult to manage the crowds and traffic congestion on Lombard Street,” Assemblyman Phil Ting, the San Francisco Democrat who carried the bill, said in a statement. “AB1605 offers a fix worth trying to improve public safety and quality of life for residents.”

More Transportation Stories

More than 2 million people drive on the crooked stretch of Lombard Street each year, backing up traffic for blocks as they wait as long as 45 minutes for their turn to traverse the switchbacks.

Residents have complained about the gridlock, noise and litter from tourists, prompting San Francisco officials to raise the idea of a toll to control the congestion. But local governments cannot charge people to use a public road without state approval, necessitating the bill.

A plan put forward by the San Francisco County Transportation Authority — which consists of the 11 members of the Board of Supervisors — would require drivers to reserve a half-hour window between 9 a.m. and 9 p.m. and allow up to 160 cars per hour on the crooked stretch of Lombard. The cost would be $5 on weekdays and $10 on weekends and holidays, with the revenue paying for staffers on site to check reservations.

If Newsom signs AB1605, the Board of Supervisors would still need to finalize details of the toll proposal, including the pricing structure and which city department would oversee the program. Eric Young, a spokesman for the transportation authority, said a toll and reservation system would not be in place until spring 2020 at the soonest.

Newsom, a former mayor of San Francisco, did not respond to a request for comment about the bill.