FILE PHOTO: Transgender activists and supporters protest near the White House in Washington

Transgender activists and supporters protest potential changes by the Trump administration to federal guidelines issued to public schools in defense of transgender student rights, near the White House in February 2017.

Health insurance plans run by states must cover gender-affirming surgeries for transgender people, an appeals court ruled on Monday.

The 8-6 opinion from the Richmond, Virginia-based 4th U.S. Circuit Court of Appeals upheld two lower court rulings, which had found that North Carolina’s state employee health insurance plan discriminated against transgender people by not covering surgeries for “sex changes or modifications,” and that West Virginia’s Medicaid program discriminated by excluding “transsexual surgeries.”