Washington (CNN) A federal judge in the District of Columbia on Friday threw out a Trump administration policy barring migrants who illegally crossed the border from seeking asylum, finding that it violated the Immigration and Nationality Act.

The administration's policy, signed last November, aimed to temporarily bar migrants who illegally cross into the US through the southern border from seeking asylum outside of official ports of entry.

"[A]liens have a statutory right to seek asylum regardless of whether they enter the United States at a designated port of entry, and defendants may not extinguish that statutory right by regulation or proclamation," wrote District Judge Randolph Moss, an Obama appointee.

Late last year, a federal judge in California blocked Trump's asylum ban and the Supreme Court later upheld the judge's order.

"Today's decision is a big deal for what it portends -- that the administration's new asylum policy is likely to be wiped off the books," said Steve Vladeck, CNN Supreme Court analyst and professor at the University of Texas School of Law. "But its practical impact will be more modest, because the policy was already on hold thanks to a nationwide injunction against it from a California court -- one that the Supreme Court, by a 5-4 vote, refused to stay last December."

Read More