The vote puts the GOP closer than ever to gutting Obamacare.
The bill would greatly change funding for insurance subsidies and Medicaid.
It also would give wealthy Americans a tax cut.
Speaker of the House Paul Ryan walks from the House Chamber after the U.S. House of Representatives approved a bill on Thursday to repeal major parts of Obamacare and replace it with a Republican healthcare plan in Washington, U.S., May 4, 2017.
Kevin Lamarque | Reuters
The Republican bill to repeal and replace major parts of Obamacare drew 217 "yes" votes in the House, and 213 "no" votes on Thursday.
All 193 Democrats voting on the American Health Care Act opposed it. They were joined by 20 Republicans.