Former President Barack Obama is crediting everyone who “mobilized, organized and made their voices heard” for derailing Republican efforts to repeal the Affordable Care Act.

>> Read more trending news

Early Friday morning, with a deciding vote cast by John McCain (R-AZ), the so-called “Skinny Repeal” bill, put forward by the GOP to repeal Obamacare, failed to pass the Senate.

Republicans were disappointed in the defeat, but Obama was thrilled that his landmark legislation has so far stood the test of time and praised the efforts of those who helped stop the repeal.

In a statement issued through his spokesperson, Kevin Lewis, the former president’s thoughts on the issue came through loud and clear.

“The Affordable Care Act has always been about something bigger than politics -- it’s about the character of our country,” the statement said. “It’s about the 20 million Americans and counting who’ve gained the security and peace of mind of health insurance and the tens of millions more who benefited from upgrades like free preventive care, such as mammograms and vaccines and improvements in the quality of care in hospitals that have averted more than 100,000 deaths so far.”

Obama's statement comes after a dramatic Thursday evening on the Senate floor, which ended with a vote at approximately 1:30 a.m. EDT early Friday morning. Sen. McCain joined two other Republicans, Lisa Murkowski (R-AK) and Susan Collins (R-ME), with his vote against the repeal.