House Democrats on Wednesday passed another one of their top party priorities, a bill called the Paycheck Fairness Act that is designed to help close the gender pay gap.

HR 7 passed, 242-187, with only seven Republican votes. Those included New Jersey’s Christopher H. Smith, an original cosponsor of the bill, Florida’s Mario Diaz-Balart, Idaho’s Mike Simpson, New York’s Tom Reed, Texas’ Will Hurd, Pennsylvania’s Brian Fitzpatrick and Illinois’ Rodney Davis. All 235 House Democrats voted for the measure.

Smith and Diaz-Balart are the only two Republicans left in the House who voted for prior versions of the bill when Democrats brought it the floor the last two Congresses they were in the majority. In 2008, it passed 247-178, with 14 Republicans supporting it. And in 2010, it passed 256-163, with 10 Republicans backing it.

Diaz-Balart told Roll Call before the vote that he planned to remain consistent and vote for the measure because it was “not substantially different” from the prior versions. But he lamented that Democrats weren’t willing to address Republican concerns to make the bill more bipartisan.

“I wish that Democrats had actually put something forward that actually could get close to becoming law,” he said. “There’s things I don’t like in it, obviously, but I have voted for it, in essence, twice before.”