The unpopular legislation that set to clear the House Thursday is substantially more expensive than the version the chamber’s Republicans approved in May, and it includes roughly $300 billion more in cuts to Medicaid. The bill now heads to the desk of U.S. President Donald Trump, who has repeatedly pledged not to cut Medicaid.

Analysts estimate that over the next 10 years, roughly 17 million Americans will lose health coverage under the GOP package, both due to the measure’s Medicaid cuts and its failure to extend Affordable Care Act subsidies set to expire at the end of the year.