NEW YORK (CBSNewYork) — It’s about to get easier to get around the city.

The New York City Council voted to legalize e-bikes and e-scooters Thursday.

READ MORE: Racism Declared A Public Health Crisis In New York City

The bill allows both to operate through the city’s five boroughs.

READ MORE: Hip-Hop Improv Show 'Freestyle Love Supreme' Returns To Broadway

Top speeds for e-bikes will be 25 mph and 20 for e-scooters.

MORE NEWS: Woman In Critical Condition After Being Struck By Sanitation Truck In Dyker Heights, Brooklyn

The bill also calls for the development of a shared e-scooter pilot program similar to Citi Bike.