San Diego City Attorney Mara Elliott has filed a lawsuit against grocery delivery company Instacart, alleging the tech giant has misclassified its employees as independent contractors.

The suit comes three days after new legislation, called Assembly Bill 5, cleared the California Legislature, spurring panic among gig economy giants such as Uber and Lyft. The bill is now on its way to the desk of Gov. Gavin Newsom, who has previously pledged his support. Should the bill be signed into law, it would prevent many companies from classifying their workers as independent contractors rather than employees.