A bill that would have codified the Roe v. Wade Supreme Court decision in New York State law was voted down in the Senate Health committee Wednesday.

The vote was split mostly between party lines in the committee, with eight Republicans voting against the bill and seven Democrats voting for it. Simcha Felder, a Democrat who has conferenced with Republicans in the chamber, also voted against the legislation.

The bill has been a controversial one in the chamber where members of the Republican majority have largely been against it. State Senator John Bonacic had indicated earlier this session that he may support it if it came to the floor.

Previously known as the ‘Reproductive Health Act’, the bill would have preserved the Roe v. Wade decision into New York State law. That way if the decision was reversed at the federal level, women in New York would still – in theory – have access to abortion services.

The bill has been carried by Senate Democratic Leader Andrew Stewart-Cousins for several years now. It was defeated in the Health Committee by one vote in 2014.

After today’s vote, Stewart-Cousins defended the legislation, typing opposition from Republicans to GOP Presidential Candidate Donald Trump.

“Once again Senate Republican Majority have appeased  the right wing extremists being led by their party’s Presidential nominee Donald Trump by again rejecting a women’s right to make their own health decisions,” Stewart-Cousins said in a statement. “This legislation would simply codify current federal law into New York State law to ensure women’s reproductive health rights are protected. In 1970, a dozen Senate Republicans joined with their Democratic colleagues to guarantee women’s reproductive rights in New York State. It’s sad and troubling that today’s Republican conference does not have the same courage and continues to reaffirm that they’re against women’s reproductive health rights.”

In 2013, lawmakers and Governor Cuomo tried to push the bill through the Senate by including it in a package of legislation referred to as the ‘Women’s Equality Act’. During last year’s session, lawmakers passed the majority of the ten-point package after they decided to split them into individual bills.