(AP) — Legislation creating rules for unregulated rideshare companies such as Uber, Lyft, and Sidecar is moving through the Illinois Legislature.

House lawmakers voted on Thursday to put regulations on commercial ridesharing with an 80-26 vote.

Under the measure, all drivers would be required to undergo background checks, vehicle safety checks and have commercial insurance. Those who drive more than 18 hours per week would need licenses and have to follow stricter city ordinances.

State Rep. Michael Zalewski is sponsoring the legislation. The Riverside Democrat says the proposal protects consumers while allowing ridesharing to thrive.

Rideshare companies say the regulations will end their industry in popular areas like Chicago. They say the proposal doesn't allow for flexibility.

The measure now moves to the Senate for consideration.

Related:

• Don't drive away innovation with wrongheaded rideshare regulations

• Cab companies take on Uber and other upstarts in political brawl