A federal judge in Washington, D.C., on Wednesday blocked the Trump administration’s latest effort to restrict birthright citizenship for the children of international workers born in the United States, according to a newly filed ruling.

D.C. District Judge Christopher Cooper, an appointee of former President Barack Obama, granted a request for a preliminary injunction blocking Donald Trump’s executive order earlier this year that came in the wake of the Supreme Court’s ruling that struck down Trump’s push to formally end birthright citizenship.

Trump aimed to do away with birthright citizenship altogether in an executive order he signed on the first day of his second term last year. In August, he signed another executive order targeting birthright citizenship – one that would outlaw what the administration has described as “birth tourism” and another that would narrow the criteria for who is eligible for birthright citizenship.