A federal appeals court has upheld the dismissal of a lawful permanent resident’s challenge to a federal rule imposing an age limit on children of immigrants gaining citizenship based on their parents’ status.

The U.S. Court of Appeals for the Third Circuit affirmed a district court’s denial of Carmen Josefina Contreras Aybar’s Immigration and Nationality Act challenge to a Department of Homeland Security regulation cutting off permanent-resident status for children of immigrants at age 21.