A seven-year quest to undo the Affordable Care Act collapsed - at least for now - as Sen. John McCain, R-Ariz., kept his colleagues and the press corps in suspense over a little more than two hours late Thursday into early Friday.
Not since September 2008, when the House of Representatives rejected the Troubled Asset Relief Program - causing the Dow Jones industrial average to plunge nearly 800 points in a single afternoon - had such an unexpected vote caused such a striking twist.
The bold move by the nation's most famous senator stunned his colleagues and possibly put the Senate on the verge of protracted bipartisan talks that McCain is unlikely to witness as he begins treatment for an aggressive form of brain cancer.
"I've stated time and time again that one of the major failures of Obamacare was that it was rammed through Congress by Democrats on a strict party-line basis without a single Republican vote," he said in a statement explaining his vote. "We should not make the mistakes of the past."
Rumors swirled late Thursday that the Arizona Republican, who had captured the nation's sympathy this week after delaying his cancer treatment in order to return to Washington, might vote against the GOP's "skinny repeal" plan - a watered-down version of earlier Republican proposals to repeal the 2010 health-care law.
McCain warned at a hastily arranged news conference Thursday afternoon that he was leaning against supporting the legislation unless House Speaker Paul D. Ryan, R-Wis., assured GOP senators that the House would not move to quickly approve the bill in its current form. McCain and Sens. Lindsey O. Graham, R-S.C., and Ron Johnson, R-Wis., wanted Ryan to launch broad House-Senate negotiations for a wider rollback of the law. Two hours later, Ryan issued a statement signaling he would launch negotiations, and Graham and Johnson announced their support.
But not McCain.
Reporters spotted him around 11 p.m.
"Have you decided how you'll vote?" they asked.
"Yes," McCain replied.
"Wait for the show," he said.
McCain headed for the stage - the Senate floor - around midnight, emerging from his office in the Russell Senate Office Building for the subway ride to the U.S. Capitol.
When he arrived, he held a brief conversation with Senate Minority Leader Charles E. Schumer, D-N.Y., an exchange that left the New Yorker smiling.
"I knew it when he walked on the floor," Schumer later recounted, explaining that McCain had already called to share his plans.
But few, if any, of his Republican colleagues realized what was about to transpire.
Two votes were called just after midnight. The first was on a Democratic proposal to refer the "skinny repeal" bill back to a committee. The second vote was to pass "skinny repeal," which would have repealed the Affordable Care Act's individual mandate and rolled back a tax on medical devices.
"Let's vote against skinny repeal," Schumer told his colleagues before the votes as he once again derided the rushed nature of the health-care debate.
McCain stood on the Republican side of the room nodding in agreement.
With Sens. Susan Collins, R-Maine, and Lisa Murkowski, R-Alaska, already planning to vote against the plan, Republicans could not afford to lose McCain. Vice President Mike Pence was already at the Capitol prepared to break a tie. Instead, he launched a last-ditch effort to win McCain's support.
As the first vote began, McCain took his seat next to Graham, his closest friend in the Senate. The South Carolinian mostly nodded as McCain gesticulated, and signaled - through his body language - that he was likely to vote no. When Murkowski walked over to join the conversation, McCain winked and gave her a thumbs down - signaling his intentions.
Collins joined the group as another clutch of Republican senators formed in the well of the Senate Chamber. Sen. Jeff Flake, R-Ariz., who operates in McCain's long shadow, stood next to Senate Majority Leader Mitch McConnell, R-Ky., Sen. John Cornyn, R-Texas, who counts GOP votes, and Pence. Eventually, Flake was dispatched to talk to McCain.
He obliged, walked over to McCain and asked Graham to move over one seat. But McCain did not acknowledge Flake, focusing instead on Murkowski and Collins.
That left Flake, one of the most polite members of the Senate, leaning into the conversation uncomfortably with a pained look on his face, as if he had to tell his father that he had run over the family dog with his car.
Seeing that Flake was not making progress, Pence walked over at 12:44 a.m. McCain smiled, pointed at Collins and Murkowski, said something about "marching orders," and stood up.
"Mr. Vice President," he said, greeting Pence. For the next 21 minutes, the vice president cajoled McCain, Collins and Murkowski. Twice during the conversation, a Pence aide came to whisper in the vice president's ear - other reporters learned it was the White House calling. Pence finally left to take a call, but later returned to speak with McCain.
By then, other senators around the room realized what was happening.
"You could see the body language in the entire chamber change in two hours," Sen. David Perdue, R-Ga., recalled. "One side was kind of ebullient, moving around and talking and the other side was subdued, and all of a sudden it began to change. There was an instinctive reaction that maybe this thing wasn't going to pass. Nobody knew for sure."
"It was pretty somber," added Sen. Amy Klobuchar, D-Minn.
At 1:10 a.m., McCain crossed the Senate Chamber to talk to Schumer, Klobuchar and other Democrats, including SensDick Durbin of Illinois, Dianne Feinstein of California and Elizabeth Warren of Massachusetts. As he approached, McCain told them he worried that reporters watching from the gallery above could read his lips. When he realized that the press was indeed watching, he looked up at the ceiling and shouted, "No!" as senators and reporters laughed. Then, Democrats beamed when McCain shared his news. Feinstein gave him a hug.
Walking back to the Republican side of the room, McCain was stopped by Sen. Orrin Hatch, R-Utah, who also offered a hug.
"I love John McCain. He's one of the great heroes of this country," Hatch explained later. "Whether we agree or not, I still love the guy."
The vote on "skinny repeal" began at 1:24 a.m., but McCain was out in the lobby once again conferring with Pence. In his absence, Collins and Murkowski cast their "no" votes along with the 48 members of the Democratic caucus.
McCain returned at 1:29 a.m. without Pence, approached the Senate clerk and gave a thumbs down - the third "no" vote.
Several people gasped. Others applauded. Reporters dashed out to report the news.
McCain returned to his seat, walking past Cornyn and Sens. John Thune, R-S.D., and Bill Cassidy, R-La., who stood grim-faced and despondent. Cassidy rubbed his face several times with his hands. Thune's face contorted. The color in Cornyn's face seemed to drain.
"Certainly Senator McCain knows how to improve the drama," Cassidy recalled later.
The vote concluded, and the results were announced - 49 to 51. Just days before, McCain had fired a warning shot with a lengthy floor speech that criticized the rushed, secretive process that led to "skinny repeal." Early Friday morning, McCain, Collins and Murkowski delivered the fatal blow.
McConnell, humiliated by the results, stood to address his colleagues. The color of his face now matched the pink in his necktie.
"This is clearly a disappointing moment," he said.
• 07/26/17 Why are Rand Paul and Kamala Harris teaming up on a bill?
• 07/03/17 'Party of Diversity'? Dems hire senate staffers who are mostly white and women, new report says
• 06/08/17 A viewer's guide to the James B. Comey hearing: Who are the senators asking him questions?
• 06/06/17 Do Republicans who criticize Trump face peril? One senator is about find out
• 05/15/17 Republicans, Dems agree: If Trump has tapes, he'll need to turn them over to Congress
• 04/03/17 Home stretch for Supreme Court nominee could forever alter the Senate
• 02/15/17 Now Dems bracing for town hall protests directed at them; implore Bernie Sanders for help
• 01/02/17 Dems plan to target eight Trump Cabinet nominees
• 07/18/16 Not so fast: Defeated anti-Trump delegates vow trouble during the convention
• 07/15/16 Attempts to unbind GOP delegates crushed, effectively ending 'Never Trump' movement
• 07/14/16 Your definitive guide to the RNC Rules Committee meeting
• 07/13/16 GOP moves closer to base in platform
• 07/12/16 What to expect as Republicans start meeting in Cleveland
• 06/30/16 The many unknowns of the GOP convention
• 06/30/16 Anti-Trump delegates raising money for staff and a legal defense fund
• 06/03/16 In the age of Trump, Latino Republicans are anguished over what to do
• 04/29/16 Rubio tries to hang onto to delegates to maintain leverage at convention
• 04/13/16 Cruz likely to block Trump on a second ballot at the GOP convention
• 04/11/16 Trump is ahead, but Cruz keeps winning the trickier delegate contests
• 03/15/16 Across Florida, Marco Rubio is in a hurry
• 03/11/16 Rubio seen as having decent chance of besting Trump in Florida
• 02/09/16 Something has clicked for Jeb Bush in the last few days
• 02/08/16 Will New Hampshire be the last stand for Jeb Bush?
• 01/25/16 John Kasich - remember him? - is on the rise in New Hampshire