The Trump administration must allow two illegal immigrants access to abortions, according to a U.S. district judge’s ruling on Monday.

The order was placed on hold by Judge Tanya Chutkan to allow the Justice Department to appeal the ruling. In response, the Justice Department filed a notice of appeal to the U.S. Court of Appeals for the District of Columbia.

The ruling is the latest development after a 17-year-old girl, who was in the U.S. illegally, petitioned the court to allow her to receive an abortion in October.

The U.S. Court of Appeals for the District of Columbia Circuit decided on Oct. 24 that the minor could have an abortion performed immediately.

In the latest case, Chutkan wrote the girls’ “constitutional right to decide whether to carry their pregnancies to term” needed to be safeguarded in the ruling. In the legal action, the minors are known as Jane Roe and Jane Poe.

In response to the decision on Monday, the Trump administration remained critical.

“We are deeply disappointed in the decision to grant a temporary restraining order that will compel HHS to facilitate abortions for minors when they are not medically necessary,” a spokesman for the U.S. Department of Health and Human Services said in a statement. "A pregnant minor who has entered the country illegally has the option to voluntarily depart to her home country or identify a suitable sponsor. HHS-funded facilities that provide temporary shelter and care for unaccompanied alien minors should not become way stations for these children to get taxpayer-facilitated abortions.”