Sen. John McCain surprised his colleagues early Friday morning when he cast his vote opposing the Health Care Freedom Act, joining Republican Sens. Susan Collins of Maine, Lisa Murkowski of Alaska and all of the chamber’s Democrats and independents to defeat the bill.

Video of the vote, tweeted by entrepreneur and activist Michael Skolnik, shows McCain walking to the front of the Senate floor after his name is called, stretching out his hand, pausing and saying “No” loudly enough for all to hear. His colleagues gasp, and some applaud as he makes his way back to his chair.

The moment John McCain voted 👎 pic.twitter.com/ehivwkJVd4 — Michael Skolnik (@MichaelSkolnik) July 28, 2017

The Republicans’ Obamacare replacement lost in the Senate, 49 to 51. Watch the dramatic moment in the video above.

CLARIFICATION: Language has been updated to reflect McCain walked to the front of the Senate floor after his name was called.