WASHINGTON, DC - DECEMBER 21: Acting White House Chief of Staff Mick Mulvaney and Vice President Mike Pence walk from the House of Representatives to the Senate while negotiating with lawmakers at the U.S. Capitol December 21, 2018 in Washington, DC. The U.S. Senate is considering a budget bill passed Thursday by the House of Representatives that would fund the federal government and includes more than $500 million for a wall along the U.S.-Mexico border. The Senate is unlikely to pass the bill with the wall funding, moving the government closer to a partial shut down just days before the Christmas holiday. (Photo by Chip Somodevilla/Getty Images)

WASHINGTON (AP) — Lawmakers from both parties say they will continue negotiating to prevent a midnight partial government shutdown as they seek agreement on measures to secure the U.S-Mexico border.

With the help of a tie-breaking vote from Vice President Mike Pence, the Senate kept alive a bill that would provide billions in funding for President Donald Trump’s border wall.

But the Senate did not take up the bill amid widespread recognition that it was unlikely to pass.

Instead, lawmakers said leaders of the House and Senate from both parties will negotiate with the White House to reach agreement.

Republican Sen. Jeff Flake of Arizona voted to advance the House-passed bill, but said there was no path forward for it in the Senate.

Prospects for agreement were murky amid Democratic opposition to Trump’s demand for more than $5 billion for the wall.