In a huge setback for the White House and House Republicans, a vote on the repeal and replacement of Obamacare has been canceled.

GOP leaders abruptly pulled the health care bill off the House floor Friday afternoon.

After days of negotiations, Republicans couldn't get the votes needed to pass the bill.

President Donald Trump calls himself a great negotiator, but he's now facing the reality of Congress.

"With no Democratic support, we couldn't quite get there," he said. "We were a small number of votes short in terms of getting our bill passed."

House Speaker Paul Ryan admitted failure, calling it a disappointing day for the Republican Party.

"We came really close today, but we came up short," he said. "I spoke to the president just a little while ago, and I told him that the best thing, I think, to do is to pull this bill. He agreed with that decision."

Ryan didn't point any fingers, though.

"I don't want to cast blame," he said. "There is a block of no votes that we have (and) that is why this didn't pass. They were a sufficient number of votes that prevented it from passing, and they didn't change their votes."

The House Freedom Caucus, the most conservative faction of the Republican Party, was unwilling to compromise even after concessions were made.

The Freedom Caucus felt the bill didn't get rid of enough Obamacare regulations. Now, the White House predicts a grim future for the Affordable Care Act.

"Again, I think what would happen — Obamacare will explode," Trump said. "It's going to have a very bad year."

The Democrats called it an exciting day and unleashed against the bill.

"Trumpcare, I mean, steals from Medicare," said House Minority Leader Nancy Pelosi, who as speaker herself helped Obama pass the Affordable Care Act in the first place. "So, let me say ... higher premiums, less coverage, essential benefits gutted, age tax, veterans' tax, steals from Medicare. All of this to give a tax break to the richest people in America. It's in their DNA — they can't help themselves."

The bill that never made it to the floor included doing away with essential health benefits like maternity care, prescription drugs and mental health services.

Trump initially gave Congressional Republicans an ultimatum on Thursday, but it didn't work.

Losing one vote after another on Friday, the fate of the bill was sealed.

Republicans had never built a constituency for the legislation, and in the end the nearly uniform opposition from hospitals, doctors, nurses, the AARP, consumer groups and others weighed heavily with many members. On the other side, conservative groups including the Koch outfit argued the legislation did not go far enough in uprooting Obamacare.

Ryan made his announcement to lawmakers at a very brief meeting, where he was greeted by a standing ovation in recognition of the support he still enjoys from many lawmakers.

When the gathering broke up, Rep. Greg Walden of Oregon, chairman of the Energy and Commerce Committee that helped write the bill, told reporters: "We gave it our best shot. That's it. It's done. D-O-N-E done. This bill is dead."

Information from the Associated Press contributed to this report.