Sen. John McCain stunned much of the US and his party leaders on Friday, when shortly before 2 a.m. ET he voted against against a "skinny" plan to repeal parts of the Affordable Care Act.

The pivotal moment — from when McCain walked onto the Senate floor to to when he put his right thumb down and walked off — took all of 19 seconds.

McCain joined two other Republican senators, Susan Collins of Maine and Lisa Murkowski of Alaska, who voted against the bill and quashed Majority Leader Mitch McConnell's plan to upend the US healthcare system in a 49-51 vote.

CNN broke down the Senate's reaction during the 19 seconds:

We took a look at the dramatic moments (by seconds) when McCain’s vote sunk republican efforts to repeal Obamacare https://t.co/5E6IYcm840 — Brooke Baldwin (@BrookeBCNN) July 28, 2017

Here's a breakdown of who's who:

1. Majority Leader Mitch McConnell, standing toward the front of Senate floor, had a smile on his face as McCain enters. That quickly fades and McConnell starts to stare at the floor.

2. Sen. Bernie Sanders of Vermont, the former Democratic presidential candidate, taps Democratic Sen. Jeanne Shaheen of New Hampshire on the shoulder and points toward McCain as he prepares to make the vote.

3. McCain holds his right arm out to get the clerk's attention. After a pause, he closes his fist and points his thumb down. Gasps and clapping erupt in the chamber.

4. Democratic Sen. Elizabeth Warren of Massachusetts leans over to catch the motion. She then starts to clap.

5. Democratic Sen. Dianne Feinstein of California claps once.

6. Democratic Sen. Sherrod Brown of Ohio hits his hand on his desk.

7. While Democrats are celebrating, members of the Republican Party, including Sens. Mike Enzi of Wyoming and Marco Rubio of Florida, stare ahead motionlessly. Sen. Bill Cassidy of Louisiana stares at the ground.

8. Minority Leader Chuck Schumer waves toward the back of the floor.

McCain then walks back to his desk, and the vote continues with Sen. Jack Reed.