Senate Democrats blocked a proposal on Thursday that would crack down on cities that don't comply with federal immigration law.  

Senators voted 54-45 on the amendment from GOP Sen. Pat ToomeyPatrick (Pat) Joseph ToomeyOvernight Defense: Pick for South Korean envoy splits with Trump on nuclear threat | McCain blasts move to suspend Korean military exercises | White House defends Trump salute of North Korean general WH backpedals on Trump's 'due process' remark on guns Top GOP candidate drops out of Ohio Senate race MORE (R-Pa.) that would limit the flow of federal grants to the jurisdictions, commonly referred to as sanctuary cities.

Sixty votes were needed to overcome the procedural hurdle. 

Democratic Sens. Joe DonnellyJoseph (Joe) Simon DonnellyConservatives spark threat of bloody GOP primaries Anti-corruption group hits Congress for ignoring K Street, Capitol Hill 'revolving door' K Street giants scoop up coveted ex-lawmakers MORE (Ind.), Joe ManchinJoseph (Joe) ManchinCritics say Interior's top lawyer came 'close to perjury' during Hill testimony Critics say Interior's top lawyer came 'close to perjury' during Hill testimony The Hill's 12:30 Report — Presented by MAPRx — Trump takes heat for remarks on help from foreign governments MORE (W.Va.), Claire McCaskillClaire Conner McCaskillConservatives spark threat of bloody GOP primaries Congress needs to work to combat the poverty, abuse and neglect issues that children face Lobbying world MORE (Mo.) and Debbie StabenowDeborah (Debbie) Ann Stabenow It's time to let Medicare to negotiate drug prices Trump judicial nominee says he withdrew over 'gross mischaracterizations' of record Trump judicial nominee says he withdrew over 'gross mischaracterizations' of record MORE (Mich.) — who are each up for reelection in states won by Trump — supported the measure. 

“It is past time to act. Sanctuary city policies make it harder to stop illegal immigration and keep dangerous criminals off the streets,” Toomey said ahead of the vote. 

The amendment was widely expected to fall short. A similar bill failed 53-44 in 2016, when Republicans had a larger majority. 

McConnell tried to bring up Toomey's proposal for a vote on Tuesday but Democrats objected, arguing it was unrelated to fixing the Deferred Action for Childhood Arrivals (DACA) program.  

“The proposal he just offered does not address the underlying issues of this debate, why we’re here. It doesn’t address 'Dreamers' nor does it address border security,” Senate Minority Leader Charles SchumerCharles (Chuck) Ellis SchumerSenate confirms Trump judicial nominee criticized for being hostile to LGBT community Senate confirms Trump judicial nominee criticized for being hostile to LGBT community Democrats detail new strategy to pressure McConnell on election security bills MORE (D-N.Y.) argued at the time. 

Toomey's amendment is one of four senators are voting on Thursday. 

Senators already rejected a bipartisan immigration proposal from Sens. Chris CoonsChristopher (Chris) Andrew CoonsSenators revive effort to create McCain human rights commission Senate Dem to reintroduce bill with new name after 'My Little Pony' confusion Senate Dem to reintroduce bill with new name after 'My Little Pony' confusion MORE (D-Del.) and John McCainJohn Sidney McCainMeghan McCain clashes with Joy Behar as the 'sacrificial Republican' on 'The View' The DNC's climate problems run deep Trump's health care focus puts GOP on edge MORE (R-Ariz.).  

They are also expected to vote on a bipartisan immigration-border security bill put forward by a gang of Senate centrists and the White House framework.