(CNN) A federal appeals court handed the Trump administration a partial win Friday by allowing its asylum restrictions to take effect in Texas and New Mexico.

The 9th US Circuit Court of Appeals, known for drawing the ire of President Donald Trump, dialed back a nationwide injunction that a district court had previously issued against the asylum rule.

The 9th Circuit now says the injunction can only apply to migrants claiming asylum in California and Arizona, states that fall under the Ninth Circuit's jurisdiction. Practically, for now, that means that asylum seekers may continue to seek protection without these restrictions in California and Arizona, but asylum seekers in Texas and New Mexico will be subject to the asylum rule.

White House press secretary Stephanie Grisham said in a news release that the administration is happy that the court decided to end the nationwide injunction. However, Grisham said the injunction in California and Arizona is still overbroad, but the administration will still be applying the rule in Texas and New Mexico.

"We look forward to having the injunction lifted in its entirety on appeal so that we can protect legitimate asylum seekers, preserve resources for addressing their claims, and prevent illegal migrants who bypass regional asylum opportunities from overwhelming our asylum system," Grisham said in the statement.

Read More