The Senate early Friday morning voted down the GOP's best shot at repealing parts of Obamacare, thanks in large part to Sen. John McCain, R-Ariz., who was one of three Republicans to vote against it.

"No" votes from McCain and Sens. Susan Collins of Maine and Lisa Murkowski of Alaska were enough to sink the bill, but McCain's vote was easily the most surprising to senators in both parties.

After meeting with GOP leaders and Vice President Pence, McCain walked onto the Senate floor and voted "no."

There were gasps in the chamber, and Democrats started to cheer and applaud until Senate Minority Leader Chuck Schumer, D-N.Y., waved at them urgently to stop.

On Tuesday, Trump praised McCain for returning to the Senate just a week after being diagnosed with brain cancer. But on Friday morning, Trump said the three Republicans who voted against the bill "let the American people down."

So great that John McCain is coming back to vote. Brave - American hero! Thank you John. — Donald J. Trump (@realDonaldTrump) July 25, 2017