SAN FRANCISCO (AP) — The U.S. Department of Justice is appealing a California judge’s decision to temporarily block new Trump administration rules allowing more employers to opt out of providing no-cost birth control to women.

Lawyers filed the notice of appeal to the 9th District Court of Appeals on Friday, nearly two months after Oakland-based U.S. District Judge Haywood Gilliam blocked the changes to President Barack Obama’s health care law.

READ MORE: Walter Payton Man Of The Year Award Nominees Announced

The Obama appointee said the Trump administration failed to follow notice and public comment requirements before implementing the changes. A federal judge in Philadelphia cited similar reasons in issuing her nationwide injunction, also in December.

The Affordable Care Act required most companies to cover birth control at no additional cost, though it included exemptions for religious organizations. The new policy would allow more categories of employers to opt out of providing contraception by claiming religious objections.

California Attorney General Xavier Becerra sued the Trump administration in October challenging the new rules, saying the policy discriminated against women.

READ MORE: Clippers Barely Hold Off Celtics To Seal Victory, 114-111

His lawsuit was joined by attorneys general in Delaware, Maryland, New York and Virginia.

California argued that the change could result in millions of women losing free birth control services and lead to unintended pregnancies that would tax the state’s health care and other social programs.

A lawyer with the U.S. Department of Justice, Ethan Davis, said at a hearing that it was not clear that any women would lose no-cost contraception coverage.

But in issuing the injunction, Gilliam said the rule changes transform contraceptive coverage from an entitlement to a benefit subject to employer discretion.

MORE NEWS: Pasadena Prepares For Rose Parade Festivities Amidst Rising COVID-19 Cases

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)