The conclusion came yesterday evening as the Justice Department said it would refrain from appealing a ruling that gave the women permission to end their pregnancies.
That decision came Monday from US District Judge Tanya Chutkan in Washington DC.
But the broader legal battle is not over, said the American Civil Liberties Union, which opposes government policy in these circumstances.
When pregnant minors enter the country illegally, US authorities give them a choice: agree to be deported and have an abortion in their home country, or stay in America and have the baby.
More From This Section
In this latest case, the women were initially presented as being 17 years old.
But authorities concluded that one of them was actually 19, although she denied it, and freed her as the case worked its way through the legal system.
The other woman, who is 22 weeks pregnant, can now have an abortion since the government is not filing an appeal, but she remains in a migration holding facility.
A few weeks ago, a similar case involving a pregnant teen detained in Texas emerged as the first big legal test involving abortion for the administration of President Donald Trump.