The Justice Department failed twice in the latest U.S. Supreme Court term to persuade the justices to curb the power of federal judges to issue nationwide injunctions.

The department has been waging a fight in courts and in public against district courts’ use of these injunctions since the beginning of the Trump administration. In its first two years, the department reported courts issued 25 nationwide injunctions or restraining orders against administration policies.