AUSTIN, Texas – A Texas law prohibiting adults younger than 21 from legally carrying a handgun violates the U.S. Constitution and cannot be enforced, a federal judge has ruled.

Although the Second Amendment protects the right to bear arms, “Texas prohibits law-abiding 18- to 20-year-olds from carrying a handgun for self-defense outside the home,” U.S. District Judge Mark Pittman of Fort Worth concluded in a Thursday order.

“Generally, the Second Amendment guarantees ‘the right of the people to keep and bear Arms,’ and the ‘people’ referred to in the Bill of Rights have always been understood to be ‘the whole people,'” Pittman wrote.

The judge, however, stayed enforcement of his injunction for 30 days or until an expected appeal to the 5th U.S. Circuit Court of Appeals is resolved.

Pittman explained the unusual move by acknowledging that his ruling relied on a review of gun laws and practices that were in place during the nation’s founding and during Reconstruction – a review that could be subject to differing interpretations.

Alabama:Black pastor says police unlawfully arrested him as he watered neighbor’s flowers

Louisiana:Man convicted of rape in 1986 is now free after judge throws out conviction

More importantly, Pittman wrote: “The Court’s crystal ball is further clouded by the fact that the 5th Circuit twice upheld this regulation under previous challenges.”

Although the delay could deprive plaintiffs of a constitutional right – the law was challenged by two Texans between ages 18 and 20 and by the Firearms Policy Coalition on behalf of its underage members – the stay could protect them from future legal trouble, the judge said.