A federal judge in Washington, D.C., on Monday blocked a Trump administration policy that allowed border patrol agents to conduct credible fear assessments for asylum-seekers, finding it likely violated federal immigration law.

Senior District Judge Richard Leon issued the preliminary injunction against a January 2020 memorandum of understanding that allowed agents with U.S. Customs and Border Patrol to handle the screenings typically conducted by U.S. Citizenship and Immigration Services officers. The administration had previously allowed the border patrol agents to administer the assessments, but Leon found only the more recent memo was being challenged in the suit.