SAN MATEO (CBS SF) — House Republicans passed an anti-abortion bill Thursday night, but not the one they planned.

Republican leaders hoped to pass a bill banning abortions after 20-weeks, but retreated after some GOP women rebelled.

READ MORE: Heroic Rescue By Surfer After Vehicle Plunges Over Santa Cruz Cliff

Anti-abortion demonstrators marched outside the capitol on the 42nd anniversary of the Roe v. Wade ruling.

READ MORE: 2 Charged In Hate Crime Spree Targeting Asian Women Across Bay Area

Democrats responded sharply to the bill.  “There are even some hypocrites on the other side of the aisle who have counseled their own girlfriends to have abortions,” Representative Jackie Speier of San Mateo said.

MORE NEWS: Formerly Incarcerated Chefs Launch 'Soul on a Roll' Food Truck in West Oakland

Under the measure that did pass, federal funds can’t be used to pay for abortions, but even that watered down bill will likely hit a roadblock in the Senate.