President Donald Trump and Senate Democratic leader Chuck Schumer met Friday afternoon in an eleventh-hour effort to avert a government shutdown, with a bitterly divided Washington locked in partisan stare-down over politically fraught legislation to protect about 700,000 younger immigrants from being deported.

"We made some progress," Schumer told reporters after the meeting, which lasted for more than an hour. He said there still were disagreements but that talks were continuing.

Republicans and Democrats in Congress and the White House traded blame for the possible shutdown just hours remaining before the midnight deadline. Trump phoned the New York lawmaker to invite him to the White House to try to reach some sort of accord.

Democrats in the Senate have served notice they will filibuster a four-week, government-wide funding bill that cleared the House Thursday evening. That could expose them to charges that they are responsible for a shutdown, but they point the finger at Republicans instead.

"They're in charge," Schumer said Friday as he entered his Capitol office. "They're not talking to us. They're totally paralyzed and inept. There's no one to negotiate with."

Republicans controlling the narrowly split chamber argue that it's the Democrats who are holding the government hostage over demands to protect "dreamer" immigrants brought to the country as children and now here illegally.

And the White House piled on, trying to paint the impending action as the "Schumer shutdown." Still, officials said the president has been working the phones trying to avert one.

As a shutdown loomed, the White House said Friday that Trump would not leave for a planned weekend trip to Florida. The president had been set to leave Friday afternoon to celebrate the one-year anniversary of his inauguration at his Palm Beach estate.

The impact of the potential shutdown on the planned trip by Trump and much of his Cabinet to the World Economic Forum in Davos, Switzerland, next week was still undetermined.

Trump entered the fray early Friday morning, mentioning the House-approved bill on Twitter, adding: "Democrats are needed if it is to pass in the Senate — but they want illegal immigration and weak borders. Shutdown coming? We need more Republican victories in 2018!"

Following the meeting with Schumer, Trump took to Twitter Friday evening confirming they had an "excellent" preliminary meeting and are "making progress."

Excellent preliminary meeting in Oval with @SenSchumer - working on solutions for Security and our great Military together with @SenateMajLdr McConnell and @SpeakerRyan. Making progress - four week extension would be best! — Donald J. Trump (@realDonaldTrump) January 19, 2018

"Excellent preliminary meeting in Oval with @SenSchumer - working on solutions for Security and our great Military together with @SenateMajLdr McConnell and @SpeakerRyan. Making progress - four week extension would be best!"

Trump has given Congress until March 5 to save the Obama-era Deferred Action for Childhood Arrivals program protecting young immigrants, so "there is absolutely no reason to tie those things together right now," Budget Director Mick Mulvaney said at the White House.

On Capitol Hill, Senate Majority Leader Mitch McConnell, R-Ky., said he hoped to vote on the House-passed bill "soon," and he said Americans at home would be watching to see "which senators make the patriotic decision" and which "vote to shove aside veterans, military families and vulnerable children to hold the entire country hostage... until we pass an immigration bill." A Senate GOP aide said McConnell was not attending the White House meeting because Trump had only issued the invitation to Schumer.

In the House, Republicans muscled the measure through on a mostly party-line 230-197 vote after making modest concessions to chamber conservatives and defense hawks.

The chamber backed away from a plan to adjourn for a one-week recess Friday afternoon, meaning the GOP-controlled House could wait to see if a last-minute compromise would be reached requiring a new vote.

A test vote on a filibuster by Senate Democrats appeared likely before the shutdown deadline. Schumer was rebuffed in an attempt to vote Thursday night.

"We can't keep kicking the can down the road," said Schumer, insisting on more urgency in talks on immigration. "In another month, we'll be right back here, at this moment, with the same web of problems at our feet, in no better position to solve them."

The short-term measure would be the fourth stopgap spending bill since the current budget year started in October. A pile of unfinished Capitol Hill business has been on hold, first as Republicans ironed out last fall's tax bill and now as Democrats insist on progress on immigration. Talks on a budget deal to ease tight spending limits on both the Pentagon and domestic agencies are on hold, as is progress on a huge $80 billion-plus disaster aid bill.

House GOP leaders sweetened the pending stopgap measure with legislation to extend for six years a popular health care program for children from low-income families and two-year delays in unpopular "Obamacare" taxes on medical devices and generous employer-provided health plans.

A shutdown would be the first since 2013, when tea party Republicans — in a strategy not unlike the one Schumer is employing now — sought to use a must-pass funding bill to try to force then-President Barack Obama into delaying implementation of his marquee health care law. At the time, Trump told Fox & Friends that the ultimate blame for a shutdown lies at the top. "I really think the pressure is on the president," he said.

Arguing that Trump's predecessors "weaponized" that shutdown, Mulvaney said Friday the budget office would direct agencies to work to mitigate the impact of a potential lapse in funding.

"The difference between now and 2013 is that the president is standing in the way of a bipartisan agreement," Schumer said, referring to a proposal forged by Sens. Lindsey Graham, R-S.C., and Dick Durbin, D-Ill., among others, that would provide protections to dreamer immigrants, fund border security, and eliminate an immigration lottery aimed at promoting diversity.

Democrats want a deal to protect around 700,000 immigrants from deportation who arrived in the U.S. as children and have stayed here illegally. Trump has ended an Obama-era program providing those protections and given Congress until March to restore them, and he and Republicans want any immigration deal to include money for the president's promised wall along the Mexican border and other security measures.

Congress must act by midnight Friday or the government will begin immediately locking its doors. Though the impact would initially be spotty — since most agencies would be closed until Monday — the story would be certain to dominate weekend news coverage, and each party would be gambling the public would blame the other.

In the event of a shutdown, food inspections, federal law enforcement, airport security checks, and other vital services would continue, as would Social Security, other federal benefit programs and military operations. But most federal workers wouldn't be paid.