SACRAMENTO (CBS / AP) — The California Assembly has approved a bill that would allow children to have more than two legal parents.

Lawmakers approved SB1476 on a party line vote Monday, with Democrats supporting it. The legislation by Sen. Mark Leno, a San Francisco Democrat, would allow judges to legally recognize multiple parents when it is in a child’s best interest to have more than two parental relationships.

READ MORE: UPDATE: 1 Dead, 5 Wounded in Saturday Evening Shooting at Oakland's Lake Merritt

Opponents say the bill erodes traditional parental roles. It would not change existing standards for legal parenthood, only the number of parents a court can recognize.

READ MORE: UPDATE: PG&E Restores Power To More Than 50,000 East Bay Customers

Other states, including Pennsylvania and Maine, already allow judges to recognize more than two parents in custody cases.

The bill passed 50-19 and returns to the Senate for a final vote.

MORE NEWS: Fire at San Francisco Tenderloin Apartments Injures 15; Dozens Saved by Occupants' Heroism

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