The House approved President Biden’s $1.9 trillion stimulus plan early Saturday and sent it to the Senate, as Democrats defied united GOP opposition to advance the massive relief package aimed at stabilizing the economy and boosting coronavirus vaccinations and testing.

The legislation, Biden’s first major agenda item, passed 219-212. Republicans unanimously opposed the bill, a strikingly partisan outcome just a month after the new president was inaugurated with calls for bipartisanship and unity. All but two Democrats voted in favor.

The vote closed shortly after 2 a.m. Saturday after a long day of debate, with Republicans repeatedly decrying the legislation as a partisan boondoggle and Democrats defending it as much-needed relief. Even bigger fights await in the Senate, where Democratic unity will face greater tests.

The action in the House came after the Senate parliamentarian ruled that the $15 minimum wage in the legislation is not permitted under Senate rules. House Democrats included it anyway, and it’s not clear how the issue will get resolved.

Ahead of the vote House Speaker Nancy Pelosi (D-Calif.) pledged that even if the Senate takes out the minimum-wage increase — the No. 1 priority for many liberals — the House will “absolutely” pass the revised legislation and send it to Biden to sign.

Economic stimulus or economic relief: Here’s what we know about who might qualify for the next round of coronavirus checks and how much they’ll get. (Monica Rodman, Sarah Hashemi, Monica Akhtar/The Washington Post)

“The sooner we pass the bill and it is signed, the sooner we can make the progress that this legislation is all about — saving the lives and the livelihood of the American people,” Pelosi said at a news conference Friday.

In brief remarks Saturday morning at the White House, Biden said he spoke to Pelosi earlier in the day to congratulate her on the House passage, and he pushed the Senate for prompt action.

“We have no time to waste,” Biden said from the Roosevelt Room. “If we act now — decisively, quickly and boldly — we can finally get ahead of this virus. We can finally get our economy moving again.”

Beyond the minimum-wage increase, the sprawling relief bill would provide $1,400 stimulus payments to tens of millions of American households; extend enhanced federal unemployment benefits through August; provide $350 billion in aid to states, cities, U.S. territories and tribal governments; and boost funding for vaccine distribution and coronavirus testing — among myriad other measures, such as nutritional assistance, housing aid and money for schools.

Democrats hope to push the legislation through both chambers and get it signed into law by March 14, when enhanced unemployment benefits are set to expire. It is uncertain whether disputes over the minimum wage or other issues could complicate that timeline, although Pelosi insisted Friday that the March 14 deadline would be met, adding: “I would like it well before that.”

On Thursday night, the Senate’s parliamentarian ruled the wage hike as written could not proceed under reconciliation, the budgetary maneuver Democrats are using to pass the stimulus bill through the Senate without GOP votes.

Liberals erupted, with some even suggesting the nonpartisan parliamentarian should be fired, but Pelosi and other House leaders indicated Friday they’re ready to move beyond the dispute and save the minimum-wage fight for another day, while insisting they’d get it done one way or another.

As an alternative to the minimum-wage increase, Senate Democrats are exploring a tax hike on large corporations that do not pay a $15-an-hour minimum wage. Senate Majority Leader Charles E. Schumer (D-N.Y.) is considering a move to include the provision in the relief bill in the Senate, according to two Democratic aides who spoke on the condition of anonymity to discuss internal thinking. It was uncertain whether the proposal would prove viable or command enough support to advance.

The vote on the massive legislation came as the economy showed some signs of progress. Personal income rose 10 percent in January, the Commerce Department reported Friday, thanks largely to the December stimulus package Congress passed. New claims for unemployment insurance fell sharply last week as coronavirus cases continue to decrease and vaccine distribution becomes more widespread.

Still, only slightly more than half the 20 million jobs lost during the pandemic have returned, and Federal Reserve Chair Jerome H. Powell has said the real unemployment rate is closer to 10 percent, meaning the economy has a long way to go to recover to its pre-pandemic levels.

Congressional Republicans argued throughout hours of debate Friday and early Saturday that Biden’s stimulus is poorly targeted and too expensive, and that it includes measures unrelated to the pandemic. Congress approved some $4 trillion to fight the pandemic last year, including $900 billion in December, and Republicans said that is more than enough, especially in light of signs the economy is improving.

“This isn’t a relief bill. It takes care of Democrats’ political allies while it fails to deliver for American families,” said House Minority Leader Kevin McCarthy (R-Calif.). “We already know what is the best stimulus plan out there: It is to fully reopen our economy. To do that, we need our economy to go back to work, back to school and back to health.”

Democrats, however, argued that more financial assistance is sorely needed for families, and more money should be directed to boost vaccine development and production and help the health-care system days after the country reached the grim milestone of 500,000 covid deaths.

“If you don’t think Congress has more work to do here, then you either don’t get what American families are going through, or you don’t care. I don’t know how else to say it,” said House Budget Committee Chairman John Yarmuth (D-Ky.). “Well, we cannot wait, and we aren’t going to wait.”

Democrats and Republicans also sparred over the process, with Republicans complaining that they had been shut out of negotiations. Democrats argued that even if the legislation did not command support among Republicans in Congress, it was broadly supported by the public — and by many GOP mayors and some governors.

Biden made some efforts at bipartisan outreach after unveiling his proposal, including meeting with a group of 10 Senate Republicans who made a $618 billion counteroffer. He ultimately dismissed their ideas as too meager and made the decision to move forward without GOP support, repeatedly defending his proposal in recent days and challenging critics to tell him: “What would they have me cut?”

Republicans fumed over Democrats’ go-it-alone approach, but Democrats countered that Republicans took the same tack when they controlled both chambers of Congress and the White House at the start of the Trump administration and pushed through an unpaid-for $1.5 trillion tax-cut bill.

The two Democrats opposing the legislation Saturday were Kurt Schrader of Oregon and Jared Golden of Maine. Golden has argued that the House should have pursued a stand-alone vote on a vaccine-funding bill before turning to larger relief legislation.

While House passage of the legislation had been all but assured, the outlook is trickier in the Senate, where moderate Democrats have raised questions about a number of provisions, including the structure of the state and local aid. The Senate is split 50-50 between Democrats and Republicans, so if Republicans remain opposed, Democrats can pass the legislation only if they stay united and Vice President Harris breaks the tie.

The budget reconciliation process allows legislation to pass the Senate with a simple majority vote instead of the 60 votes usually required. But it also contains limitations, prohibiting certain measures that do not affect the federal budget in particular ways. The parliamentarian determined that the minimum wage did not pass that test.

If the Senate passes the bill without the minimum-wage increase and sends it back to the House, liberals will have to make peace with supporting it anyway. Raising the minimum wage from its current level of $7.25 an hour was some liberals’ top priority in the bill, and they were irate over the parliamentarian’s decision. Some called on Schumer to try to overturn it or move to eliminate the filibuster, the 60-vote threshold that protects minority rights in the Senate.

“Democrats are just going to have to make a choice about using, really going to the mat and really using every lever of power that we have to govern for the majority of the American people,” said Rep. Pramila Jayapal (D-Wash.), chair of the Congressional Progressive Caucus. “In two years, I don’t think we can go back to voters and say, ‘Look, I know Republicans, Democrats, independents support this, we promised it, but because of an unelected parliamentarian who gave us a ruling, we couldn’t do it.’ ”

The White House, however, has indicated that Biden intends to respect the parliamentarian’s ruling. And Democrats do not have the votes to overrule the parliamentarian or eliminate the filibuster in the Senate anyway, because of opposition from at least two moderate Senate Democrats: West Virginia’s Joe Manchin III and Arizona’s Kyrsten Sinema.

Paul Kane, Felicia Sonmez and Seung Min Kim contributed to this report.