The Senate squandered three opportunities on Thursday to advance legislation that would protect so-called Dreamers from deportation and enhance border security measures.

Lawmakers could not muster the 60 votes needed on any of the three proposals, all of which would have offered a path to citizenship for at least 1.8 million Dreamers in return for some degree of border security. Eight Republicans crossed the aisle to support a last-ditch bipartisan deal announced Wednesday, but even that was not enough.

In the end, it was the plan supported by President Donald Trump that gained the least support, falling short by a vote of 39-60. Fourteen Republicans voted against the Trump plan, while three moderate Democrats — Joe Donnelly of Indiana, Heidi Heitkamp of North Dakota and Joe Manchin III of West Virginia — sided with the president. Donnelly, Heitkamp and Manchin all face tough re-elections in states Trump won handily in 2016.

Senate majority leaderMitch McConnell said following the votes that Democrats, who spent months demanding Congress legalize Dreamers, should put aside politics and return from next week’s scheduled recess ready to broker a compromise that Trump could sign.

“Put away the talking points and get serious about finding a solution that can become law,” the Kentucky Republican said.