NEW YORK (CBSNewYork) — Lawmakers managed to reach an agreement to make e-bikes and scooters legal across New York state.

Advocates for the electric vehicles say the move will help provide a better transportation option for New Yorkers.

READ MORE: 16-Year-Old Killed In Double Shooting On Lower East Side, Second Victim In Hospital

The measure will allow cities to decide how to regulate them.

READ MORE: CDC Issues New COVID-19 Guidance For Holiday Season

The legislation is expected to be voted on this Wednesday.

MORE NEWS: New Video Shows Woman With Red Gas Can Inside Store Before Fire At Brooklyn Yeshiva

Gov. Andrew Cuomo says as long as safety precautions are taken, he supports the plan.