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.

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.