Democrats celebrated the third anniversary of the passage of President Obama’s signature health-care legislation on Friday by voting down a Republican amendment to repeal the entire law.

Texas Sen. Ted Cruz’s amendment repealing Obamacare failed to pass the Democratic-controlled Senate on Friday, receiving 45 ayes and 54 nays. The amendment was attached to the Senate Democratic budget resolution for 2014.

Cruz’s amendment called for “patient-centered reforms to improve health outcomes and reduce health care costs, promoting economic growth” to take the law’s place.