The House on Wednesday voted down a GOP immigration bill for the second time in the last week, with far fewer Republicans backing the latest measure than backed the more conservative one that failed just days ago.

The new measure was considered a compromise negotiated between Republican moderates and hardliners. It would have allotted $25 billion for border security and the construction of a border wall, while limiting legal immigration and banning the separation of illegal-immigrant families in federal custody. But it failed by a wide 121–301 margin, torpedoed by a mix of Democrats and conservative immigration hawks. Virginia representative Bob Goodlatte’s more conservative bill, by comparison, went down by a vote of 193-231 last Thursday.

Neither bill would have fared well in the Senate, rendering the House’s internal scuffling largely moot.

President Trump rolled out an all-caps tweet before the vote urging the GOP to pass the “strong but fair” bill despite its slim chances in the Senate.

Trump had previously told House members to forget it and “stop wasting their time” trying to pass an immigration bill until after the midterm congressional elections.

The votes on the two immigration bills were part of a deal between rank-and-file Republicans and the party’s leaders in the House to halt a bipartisan discharge petition that would have forced leadership to bring up a series of votes on immigration.