In an action lodged by attorneys general in New Jersey and Pennsylvania, a federal judge has agreed to block the Trump administration from enacting certain religious and moral exceptions to the Affordable Care Act that have been widely seen as a means to roll back the mandate for covering birth control medications.

U.S. District Judge Wendy Beetlestone of the Eastern District of Pennsylvania granted a nationwide preliminary injunction late Monday barring the federal government from enforcing a version of the ACA that allowed for greatly expanded exceptions to the requirement that companies help cover the cost of contraceptives.