“I never pushed the Republicans in the House to vote for the Immigration Bill, either GOODLATTE 1 or 2, because it could never have gotten enough Democrats as long as there is the 60 vote threshold,” the president wrote on Twitter. “I released many prior to the vote knowing we need more Republicans to win in Nov.”

Trump explicitly called for Republicans to support Virginia Rep. Bob Goodlatte‘s bill on Wednesday with an all-caps Twitter endorsement.

“HOUSE REPUBLICANS SHOULD PASS THE STRONG BUT FAIR IMMIGRATION BILL, KNOWN AS GOODLATTE II, IN THEIR AFTERNOON VOTE TODAY, EVEN THOUGH THE DEMS WON’T LET IT PASS IN THE SENATE,” Trump wrote on Twitter before the Wednesday vote. “PASSAGE WILL SHOW THAT WE WANT STRONG BORDERS & SECURITY WHILE THE DEMS WANT OPEN BORDERS = CRIME. WIN!”