Democratic legislation meant to fight gender discrimination in the workplace failed in the Democrat-controlled Senate Tuesday on a procedural vote.

In a 52 to 47 tally the Senate defeated the Paycheck Fairness Act. The legislation aimed to increase protections for women filing gender-discrimination lawsuits, as well as create a federal grant program to improve women’s salary negotiating skills.

The vote came down strictly along party lines, with the two independent senators voting with Democrats and Sen. Mark Kirk (R-Ill.) not voting. Senate Majority Leader Harry Reid (D-Nev.) changed his vote so that he could bring the bill up again.