NEW YORK, NY - JULY 30:  A Lyft ride hailing vehicle moves through traffic in Manhattan on July 30, 2018 in New York City. After a significant increase in local traffic and a spate of suicides by taxi drivers, New York City is planning to vote on capping ride-sharing services such as Uber and Lyft. The  City Council's move to vote on the measures could come as soon as Aug. 8. If the vote was to succeed, New York City would become the first major U.S. municipality to cap ride-sharing services.  (Photo by Spencer Platt/Getty Images)
Spencer Platt/Getty Images North America/Getty Images
NEW YORK, NY - JULY 30: A Lyft ride hailing vehicle moves through traffic in Manhattan on July 30, 2018 in New York City. After a significant increase in local traffic and a spate of suicides by taxi drivers, New York City is planning to vote on capping ride-sharing services such as Uber and Lyft. The City Council's move to vote on the measures could come as soon as Aug. 8. If the vote was to succeed, New York City would become the first major U.S. municipality to cap ride-sharing services. (Photo by Spencer Platt/Getty Images)
Now playing
00:55
New bill would make rideshare drivers benefits-eligible
CNN
Now playing
03:22
Bank of America CEO reveals his top worry about the economy
US Navy
Now playing
01:28
Pentagon confirms UFO video is real, taken by Navy pilot
marte fotos volcan olympus mons sistema solar hope ultravioleta perspectivas mexico_00000411.png
marte fotos volcan olympus mons sistema solar hope ultravioleta perspectivas mexico_00000411.png
Now playing
04:12
Why we are going to Mars
Twitter | @brady9dream
Now playing
02:10
Pet owners pitch their pups to be dog brew's 'Chief Tasting Officer'
Now playing
01:32
Scientists turned spiderwebs into music and it sounds like a nightmare
LONDON, ENGLAND - DECEMBER 07:  A visual representation of the digital Cryptocurrency, Bitcoin on December 07, 2017 in London, England. Cryptocurrencies including Bitcoin, Ethereum, and Lightcoin have seen unprecedented growth in 2017, despite remaining extremely volatile. While digital currencies across the board have divided opinion between financial institutions, and now have a market cap of around 175 Billion USD, the crypto sector coninues to grow, as it continues to see wider mainstreem adoption. The price of one Bitcoin passed 15,000 USD across many exchanges today taking it higher than previous all time highs.  (Photo by Dan Kitwood/Getty Images)
Dan Kitwood/Getty Images
LONDON, ENGLAND - DECEMBER 07: A visual representation of the digital Cryptocurrency, Bitcoin on December 07, 2017 in London, England. Cryptocurrencies including Bitcoin, Ethereum, and Lightcoin have seen unprecedented growth in 2017, despite remaining extremely volatile. While digital currencies across the board have divided opinion between financial institutions, and now have a market cap of around 175 Billion USD, the crypto sector coninues to grow, as it continues to see wider mainstreem adoption. The price of one Bitcoin passed 15,000 USD across many exchanges today taking it higher than previous all time highs. (Photo by Dan Kitwood/Getty Images)
Now playing
03:07
Bitcoin has an energy problem
Accused $50 billion Ponzi scheme swindler Bernard Madoff exits federal court March 10, 2009 in New York City. Madoff was attending a hearing on his legal representation and is due back in court Thursday.  (Photo by Mario Tama/Getty Images)
Mario Tama/Getty Images
Accused $50 billion Ponzi scheme swindler Bernard Madoff exits federal court March 10, 2009 in New York City. Madoff was attending a hearing on his legal representation and is due back in court Thursday. (Photo by Mario Tama/Getty Images)
Now playing
03:11
Bernie Madoff, infamous Ponzi schemer, dead at 82
Now playing
05:18
Coinbase CFO: We're an on-ramp to the crypto economy
A man checks vine buds during the burning of anti-frost candles in the Luneau-Papin wine vineyard in Le Landreau, near Nantes, western France, on April 12, 2021, as temperatures fall below zero degrees celsius.
Sebastien Salom-Gomis/AFP/Getty Images
A man checks vine buds during the burning of anti-frost candles in the Luneau-Papin wine vineyard in Le Landreau, near Nantes, western France, on April 12, 2021, as temperatures fall below zero degrees celsius.
Now playing
01:37
See how French winemakers are trying to save their crops from frost
SUEZ, EGYPT - MARCH 29: The container ship 'Ever Given' is refloated, unblocking the Suez Canal on March 29, 2021 in Suez, Egypt. This morning the container ship came partly unstuck from the shoreline, where it ran aground in the canal last Tuesday, and later resumed its course shortly after 3pm local time. The Suez Canal is one of the world's busiest shipping lanes and the blockage had created a backlog of vessels at either end, raising concerns over the impact on global shipping and supply chains. (Photo by Mahmoud Khaled/Getty Images)
Mahmoud Khaled/Getty Images
SUEZ, EGYPT - MARCH 29: The container ship 'Ever Given' is refloated, unblocking the Suez Canal on March 29, 2021 in Suez, Egypt. This morning the container ship came partly unstuck from the shoreline, where it ran aground in the canal last Tuesday, and later resumed its course shortly after 3pm local time. The Suez Canal is one of the world's busiest shipping lanes and the blockage had created a backlog of vessels at either end, raising concerns over the impact on global shipping and supply chains. (Photo by Mahmoud Khaled/Getty Images)
Now playing
00:57
Egypt seizes Ever Given ship, asks for $900M in compensation
CNN
Now playing
03:06
Hear doctor's message for people with J&J vaccine concerns
Barbers from King's Cutz give haircuts indoors while observing COVID-19 safety restrictions on March 13, 2021 in Los Angeles, California.
Mario Tama/Getty Images
Barbers from King's Cutz give haircuts indoors while observing COVID-19 safety restrictions on March 13, 2021 in Los Angeles, California.
Now playing
01:43
US consumer prices increased in March
Now playing
03:21
Teachers under pandemic stress are quitting: I didn't feel safe
Domino's autonomous vehicle will deliver your pizza
Domino's
Domino's autonomous vehicle will deliver your pizza
Now playing
01:12
Watch this robot deliver a Domino's pizza
Now playing
01:27
See the first community of 3D-printed homes
(CNN Business) —  

The California state senate passed legislation late Tuesday that could transition tens of thousands of ride-share drivers from independent contractors into full-time employees. The bill, if enacted, could profoundly change the fortunes of transportation companies like Uber and Lyft and their drivers.

The law would change California employment practices by making it more difficult for employers in the state to treat their workers as independent contractors. Those “gig economy” workers don’t enjoy many of the rights employees do, such as a minimum wage, overtime pay, workers’ compensation, unemployment insurance and paid sick leave. Independent contractors also pay their own expenses.

The bill, known as AB-5, still needs to pass the state assembly. That vote is expected to take place by the close of the legislative session this week. California Governor Gavin Newsom has previously expressed support for the legislation and is expected to sign it.

Drivers have been fighting for better treatment for several years. In May, drivers in a dozen cities around the world went on strike, pushing for better pay and improved working conditions.

Many online labor platforms have said they consider the independent contractor relationship key to their business model. Providing benefits and rights to which an employee would be entitled can be costly. The companies say independent contractor status gives drivers the freedom to set their own schedules and work for multiple companies at the same time.

Lyft indicated in a response that they are ready to fight back against the legislation. Adrian Durbin, senior director of communications for the company said the state “missed an important opportunity to support the overwhelming majority of rideshare drivers who want a thoughtful solution that balances flexibility with an earnings standard and benefits.”

“We are fully prepared to take this issue to the voters of California to preserve the freedom and access drivers and riders want and need,” Durbin said.

Companies opposed to the bill waged a very public and well-funded campaign to prevent its passage.

In June, the the CEO of Uber te_link” > (UBER)>, Dara Khosrowshahi, and the cofounders of Lyft (LYFT), Logan Green and John Zimmer, wrote an te_link” > (UBER)>-Lyft (LYFT)-ready-to-do-our-part-for-13969843.php” target=”_blank”>op-ed in the San Francisco Chronicle arguing that being required to classify drivers as employees instead of independent contractors would “pose a risk to their businesses” and ignored two important points.

“First, most drivers prefer freedom and flexibility to the forced schedules and rigid hourly shifts of traditional employment,” Khosrowshahi wrote. “And second, many drivers are supplementing income from other work.”

California has pushed back on the growth of the gig economy before. In 2018, the California Supreme Court changed the requirements companies must use to label their workers as independent contractors.