(NEW YORK) — The Senate on Wednesday failed to advance legislation that would codify the right to access contraceptives nationwide, as Democrats look to put reproductive care at the front of their messaging agenda in the lead up to the November elections.

The Right to Contraception Act fell short of the 60 votes needed to move forward. The final vote was 51-39.

All but two Republicans present voted against the measure. The only Republicans to cross party lines and join Democrats in trying to advance the legislation were Sens. Susan Collins of Maine and Lisa Murkowski of Alaska.

The bill, put forward by a group of Senate Democrats in the aftermath of the 2022 Supreme Court decision that overturned the constitutional right to abortion, would protect a person’s right to access contraceptives and a doctor’s right to provide information and access to them.

“Today was not a show vote. This was a show us who you are vote,” Majority Leader Chuck Schumer said in remarks after the bill failed to advance. “And Senate Republicans showed the American people exactly who they are.”

“The Right to Contraception Act simply says, if you want to access birth control or if you’re a healthcare provider wanting to prescribe birth control, the government has no right to interfere. Doesn’t that seem like common sense?” Schumer added.

Republicans dismissed the legislation as a political ploy by Democrats and opposed what they saw as overly broad language that could be interpreted to include some abortion-related medications.

“It’s not a serious attempt to legislate this is just a show vote in anticipation of the election,” said Sen. John Cornyn, a Texas Republican who is running to become the Senate Republican leader this fall. “Democrats think they can win this case, this election based on reproductive rights and somehow they’re suggesting that contraception is in jeopardy, which is just blatantly false.”

It is clear Democrats are looking to put the squeeze on Republicans on reproductive rights ahead of the 2024 election, after winning big on the issue in the last election cycle.

President Joe Biden, responding to the vote, called Republican opposition to the contraception access bill “unacceptable” and said his administration will continue working with Democrats to “protect access to reproductive health care.”

Wednesday’s vote was the first of a number of votes on reproductive rights related legislation Schumer has promised in the coming weeks.

Already, he’s teed up the chamber to take a vote next week on a bill aimed at protecting access to IVF in the aftermath of an Alabama Supreme Court ruling that threw access to the procedure into jeopardy. That will also almost certainly fail at the hands of Republicans.

Twenty-two Senate Republicans said Democrats were trying to stir up commotion over a non-existent threat in a joint statement on Tuesday.

“There is no threat to access to contraception, with is legal in every state and required by law to be offered at no cost by health insurers, and it’s disgusting that Democrats are fearmongering on this important issue to score cheap political points,” they said.

The right to access birth control was enshrined in a 1965 Supreme Court ruling.

But proponents of the Right to Contraception Act said that if the Supreme Court could overturn Roe v. Wade, which granted protections for abortions, it could also act to overturn access to birth control.

Justice Clarence Thomas, in a concurring opinion to the Supreme Court decisions that overturned Roe V. Wade, said that the court “should reconsider” some of its previous decisions, including the one that assured legal access to birth control.

“Whenever a Supreme Court justice, especially in the MAGA far right, says he wants to revisit a case, you can bet that he’s looking to overturn,” Sen. Mazie Hirono, D-Hawaii, said.

Schumer echoed her warning.

“A few years ago it was Roe. A few years from now it could be something else,” Schumer said in floor remarks. “We are kidding ourselves if we think the hard right is done with their attacks on reproductive rights.”

Republicans also said they were worried the bill’s broad language could potentially violate religious freedom of providers or be interpreted to include certain kinds of drugs that some say could induce an abortion. Democrats refuted that the legislation does either of those things.

Though Republicans voted against advancing the bill, they are taking pains to assure voters they do support access to birth control.

They will offer their own legislation, led by Iowa Sen. Joni Ernst, which also protects access to contraceptives but limits certain types of medications that Republicans find objectionable.

In a memo released by the National Republican Senatorial Committee Tuesday and obtained by ABC News, Republicans were encouraged to tout their support for Ernst’s legislation and for birth control in general.

“Republicans support access to birth control. Democrats are trying to make this a campaign issue and scare voters because they can’t talk about their failed policies on every other issue. Senator Ernst’s bill lays out commonsense solutions that Republicans should strongly consider embracing on the campaign trail,” the memo concluded.

ABC News’ Tal Axelrod and Isabella Murray contributed to this report.

Copyright © 2024, ABC Audio. All rights reserved.