A congressional committee voted Tuesday to give British baby Charlie Gard and his parents permanent residency in the U.S. so the terminally ill child can receive experimental treatment from U.S. doctors.

The House Appropriations Committee on Tuesday unanimously passed an amendment to a bill funding the Department of Homeland Security that would give the family permanent resident status, which would let them stay in the U.S. and get medical treatment. The Senate and House still need to vote on the language for it to become law, which may not happen for weeks.

"We just passed amendment that grants permanent resident status to #CharlieGard and family so Charlie can get the medical treatment he needs," Republican Rep. Jeff Fortenberry tweeted Tuesday.

Gard, who has mitochondrial DNA depletion syndrome, garnered international attention after his doctors in England ordered him to be taken off a ventilator.

The child's parents have argued that he should be able to seek treatment in the U.S.

In July, Trump said the U.S. would be "delighted" to offer support to the Gard family.