The American Health Care Act took more than two dozen party-line votes before getting the committee's approval at roughly 4:30 a.m. Eastern time Thursday.

The Energy and Commerce Committee were still working on the bill as of about 6 a.m. Thursday.

of

WATCH | Here's the moment of the bill's vote.

of

Committee Republicans hailed the bill's approval on Twitter.

of

of

Democrats tried to change the bill in a number of ways, getting outvoted at every turn. Attempted amendments included language that would require President Trump to release his tax returns, prevent Republicans from restoring insurance companies' tax deductions for salaries above $500,000, and kicking people off coverage.

The American Medical Association, American Hospital Association and AARP all denounced the bill. Their support was considered key to the passage of Obamacare in 2010.