A federal judge in Washington, D.C., late Tuesday vacated a Trump administration rule that blocked migrants from petitioning for asylum in the U.S. if they were not first denied the protections by other countries they traveled through on their way to the southern border.

U.S. District Judge Timothy Kelly, appointed to the bench by President Donald Trump, issued the ruling nearly a year after he first rejected a temporary restraining order against the restriction. A similar challenge has played out in federal court in California, where the U.S. Court of Appeals for the Ninth Circuit is set to rule on whether to uphold preliminary injunction against the rule. The U.S. Supreme Court had previously said the administration can enforce the measure while that court fight played out.