A federal judge ordered Texas to remove floating barriers in the Rio Grande and barred the state from building new or placing additional buoys in the river, according to a Wednesday court filing, marking a victory for the Biden administration.

The judge ordered Texas to take down the barriers by September 15 at its own expense.

In July, the Justice Department sued the state of Texas over its use of floating barriers in the Rio Grande, which Gov. Greg Abbott has argued are intended to deter migrants from crossing into the state from Mexico.