The Senate narrowly passed a bill Thursday that would repeal key pieces of the Affordable Care Act and strip federal funding of Planned Parenthood for one year.

The bill, which only needed 51 votes to pass because it was being considered using a procedure allowing it to bypass typical Senate procedures which require 60 votes to advance a piece of legislation, passed 52 to 47.

The bill is not expected to become law.

It now goes to the House of Representatives, where it is expected to pass. The House passed a similar version on Oct. 23, but must vote on it because the Senate made changes to adhere to budgetary rules.

The White House has already said that President Barack Obama will veto the legislation once it reached his desk, and Republicans do not have the two-thirds majority needed to override that veto.

Two attempts to save funding for Planned Parenthood failed. One attempt was made by Senate Democrats and the other made by a group of moderate Senate Republicans.

Planned Parenthood referenced the shooting spree its Colorado Springs clinic last week in blasting the Senate passage of the bill. Three people were killed in the shooting rampage.

"It seems implausible that less than a week after a tragic shooting at the Planned Parenthood health center in Colorado Springs some in Washington chose politics over compassion,” Dawn Laguens, executive vice president of the Planned Parenthood Federation of America, said in a statement.

"What millions of people across this country needed in the wake of two unspeakable acts of violence this week, in Colorado and in California, was reassurance that lawmakers care about the lives, health and safety of the people they represent,” Laguens said. "What they got instead was the cold shoulder of indifference."