The 5-4 order represents a loss for environmental groups represented by the American Civil Liberties Union, which had asked the justices to lift an order from a year ago that allowed the government to continue building the wall pending appeals. It is a win for Trump, who has made the construction of the wall a cornerstone of his presidency.

The portions of the wall in question are in Arizona, New Mexico and California.

Justice Stephen Breyer, joined by Justice Ruth Bader Ginsburg, Elena Kagan and Sonia Sotomayor dissented. Breyer noted that by the time the court reaches the case on the merits, the portion of the wall may already be complete.