A federal judge struck down Arkansas’ first-in-the-nation ban on gender-affirming care for children as unconstitutional Tuesday, the first ruling to overturn such a prohibition as a growing number of Republican-led states adopt similar restrictions.

In his order, Moody ruled that the prohibition violated the due process and equal protection rights of transgender youth and families. He said the law also violated the First Amendment rights of medical providers.