A federal judge has blocked Donald Trump’s latest attempt to limit birthright citizenship, granting a preliminary injunction against an executive order that the administration said would target “birth tourism.”

U.S. District Judge Deborah L. Boardman in Maryland on Wednesday issued the injunction until a class-action lawsuit brought by immigrant families and advocacy groups is resolved.

“The Supreme Court has spoken: Children in the certified class are ‘citizens at birth,’” Boardman, appointed by President Joe Biden, wrote in Wednesday’s ruling.