SACRAMENTO — Gov. Jerry Brown has signed a bill allowing local governments to impose a vehicle registration surcharge to pay for bike lanes and trails.

The governor's office said in a statement that Brown signed the bill in Sacramento on Saturday.

It lets cities, counties or regional park districts to impose an annual vehicle registration surcharge of up to $5 to pay for local bike lanes and trails.

The surcharge can be imposed until Jan. 1, 2025.

Democratic Sen. Mark DeSaulnier of Concord sponsored the bill that passed the Senate 24-9 in August.

Opponents argued that drivers should not have to pay for trails and lanes for cyclists.