Despite days of intense negotiations and last-minute concessions to win over wavering GOP conservatives and moderates, House Republican leaders Friday failed to secure enough support to pass their plan to repeal and replace the Affordable Care Act.

House Speaker Paul Ryan pulled the bill from consideration after he rushed to the White House to tell President Donald Trump that there weren’t the 216 votes necessary for passage.

“We came really close today, but we came up short,” he told reporters at a hastily called news conference.

When pressed about what happens to the federal health law, he added, “Obamacare is the law of the land. … We’re going to be living with Obamacare for the foreseeable future.”

Trump laid the blame at the feet of Democrats, complaining that not one was willing to help Republicans on the measure, and he warned again that the Obamacare insurance markets are in serious danger. “Bad things are going to happen to Obamacare,” he told reporters at the White House. “There’s not much you can do to help it. I’ve been saying that for a year and a half. I said, look, eventually it’s not sustainable. The insurance companies are leaving.”

Use Our Content This story can be republished for free ( details ).

But he said the collapse of the bill might allow Republicans and Democrats to work on a replacement. “I honestly believe the Democrats will come to us and say, ‘Look, let’s get together and get a great health care bill or plan that’s really great for the people of our country,'” he said.

Ryan originally had hoped to hold a floor vote on the measure Thursday — timed to coincide with the seventh anniversary of the ACA — but decided to delay that effort because GOP leaders didn’t have enough “yes” votes. The House was in session Friday before his announcement while members debated the bill.

House Democratic leader Nancy Pelosi (Calif.) said the speaker’s decision to pull the bill “is pretty exciting for us … a victory for the Affordable Care Act, more importantly for the American people.”

The legislation was damaged by a variety of issues raised by competing factions of the party. Many members were nervous about reports by the Congressional Budget Office showing that the bill would lead eventually to 24 million people losing insurance, while some moderate Republicans worried that ending the ACA’s Medicaid expansion would hurt low-income Americans.

At the same time, conservatives, especially the hard-right House Freedom Caucus that often has needled party leaders, complained that the bill kept too much of the ACA structure in place. They wanted a straight repeal of Obamacare, but party leaders said that couldn’t pass the Senate, where Republicans don’t have enough votes to stop a filibuster. They were hoping to use a complicated legislative strategy called budget reconciliation that would allow them to repeal only parts of the ACA that affect federal spending.

The decision came after a chaotic week of negotiations, as party leaders sought to woo more conservatives. Trump personally lobbied 120 members through personal meetings or phone calls, according to a count provided Friday by his spokesman, Sean Spicer. “The president and the team here have left everything on the field,” Spicer said.

On Thursday evening, Trump dispatched Office of Management and Budget Director Mick Mulvaney to tell his former House GOP colleagues that the president wanted a vote on Friday. It was time to move on to other priorities, including tax reform, he told House Republicans.

“He said the president needs this, the president has said he wants a vote tomorrow, up or down. If for any reason it goes down, we’re just going to move forward with additional parts of his agenda. This is our moment in time,” Rep. Chris Collins (R-N.Y.), a loyal Trump ally, told reporters late Thursday. “If it doesn’t pass, we’re moving beyond health care. … We are done negotiating.”

Trump’s edict clearly irked some lawmakers, including the Freedom Caucus chairman, Rep. Mark Meadows (R-N.C), whose group of more than two dozen members represented the strongest bloc against the measure.

“Anytime you don’t have 216 votes, negotiations are not totally over,” he told reporters who had surrounded him in a Capitol basement hallway as he headed in to the party’s caucus meeting.

Trump, Ryan and other GOP lawmakers tweaked their initial package in a variety of ways to win over both conservatives and moderates. But every time one change was made to win votes in one camp, it repelled support in another.

The White House on Thursday accepted conservatives’ demands that the legislation strip federal guarantees of essential health benefits in insurance policies. But that was another problem for moderates, and Democrats suggested the provision would not survive in the Senate.

Republican moderates in the House — as well as the Senate — objected to the bill’s provisions that would shift Medicaid from an open-ended entitlement to a set amount of funding for states that would also give governors and state lawmakers more flexibility over the program. Moderates also were concerned that the package’s tax credits would not be generous enough to help older Americans — who could be charged five times more for coverage than their younger counterparts — afford coverage.

The House package also lost the support of key GOP allies, including the Club for Growth and Heritage Action. Physician, patient and hospital groups also opposed it.

But Ryan’s comments made clear how difficult this decision was. “This is a disappointing day for us,” he said. “Doing big things is hard. All of us. All of us — myself included — we will need time to reflect on how we got to this moment, what we could have done to do it better.”