SACRAMENTO (CBS / AP) — The state Senate has passed a bill that would make nannies, housekeepers, childcare providers and caregivers in California eligible for overtime and meal breaks.

The bill passed the Senate on a 21-13 vote after a lengthy partisan debate Wednesday. It now returns to the Assembly for a final vote.

READ MORE: French Bulldog Stolen At Gunpoint Returned To Castro Valley Family

It would require that live-in workers be compensated if their eight-hour rest period was interrupted. Regulations governing their working conditions would be set by the state Department of Industrial Relations by January 2014.

READ MORE: Big Sur ‘Colorado’ Fire Sparked By Pile Burning Operation, 50% Contained

The bill’s author, Democratic Assemblyman Tom Ammiano of San Francisco, said California would be the second state, after New York, to adopt such rules.

The bill said domestic workers face labor issues including working long hours for low wages and a lack of job security.

MORE NEWS: Experts: Emerging Omicron Subvariant Shouldn't Delay Lull In COVID Pandemic

(Copyright 2012 by CBS San Francisco. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)