BOSTON (AP) — A federal appeals court in Boston ruled on Friday that the Trump administration cannot withhold citizenship from children born to people in the country illegally or temporarily, adding to the mounting legal setbacks for the president’s birthright order.

A three-judge panel of the 1st U.S. Circuit Court of Appeals became the fifth federal court since June to either issue or uphold orders blocking the president’s birthright order. The court concluded that the plaintiffs are likely to succeed on their claims that the children described in the order are entitled to birthright citizenship under the Citizenship Clause of the 14th Amendment.

The panel upheld lower courts’ preliminary injunctions, which blocked the birthright order while lawsuits challenging it moved ahead. The order, signed the day the president took office in January, would halt automatic citizenship for babies born to people in the U.S. illegally or temporarily.

“The ‘lessons of history’ thus give us every reason to be wary of now blessing this most recent effort to break with our established tradition of recognizing birthright citizenship and to make citizenship depend on the actions of one’s parents rather than — in all but the rarest of circumstances — the simple fact of being born in the United States,” the court wrote.

California Attorney General Rob Bonta, whose state was one of nearly 20 that were part of the lawsuit challenging the order, welcomed the ruling.

“The First Circuit reaffirmed what we already knew to be true: The President’s attack on birthright citizenship flagrantly defies the Fourteenth Amendment of the U.S. Constitution and a nationwide injunction is the only reasonable way to protect against its catastrophic implications,” Bonta said in a statement. “We are glad that the courts have continued to protect Americans’ fundamental rights.”

In July, a federal judge in Boston issued a nationwide block on the order, reaffirming the court's stance on the constitutional right to citizenship by birth. The administration’s appeal to the Supreme Court regarding this contentious issue is expected to be addressed promptly, potentially solidifying or overturning the rights granted under the Constitution.