Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

The Gloucester County, Virginia School Board says it will appeal this week's ruling which said the board violated federal law when it barred schools from allowing transgender students to use the bathrooms that match their gender identity.

The decision was a victory for a high school student, Gavin Grimm, who challenged the policy. Grimm, was born female but identifies as male, underwent hormone therapy, and legally changed his name.

The ruling came from a three-judge panel of the Fourth Circuit Court of Appeals, finding that the board violated Title IX, the provision of federal law that bars sex discrimination. The board says it will appeal to the full appeals court.

Gavin Grimm on his front porch during an interview at his home in Gloucester, Va., on Aug. 25, 2015. A U.S. appeals court has overturned a policy barring a transgender student from using the boys' restrooms at his Virginia high school. Steve Helber / AP

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

"The Board understands that the claims were sent back to the district court for further consideration and that no injunction was granted by the court. After considering the opinions of the 4th Circuit panel, it is the school boards’ unanimous decision to file a petition for an en banc hearing with the 4th Circuit Court of Appeals," read a board issued statement.

The decision is binding on the five states of the Fourth Circuit — Maryland, North and South Carolina, Virginia, and West Virginia.

While his school’s officials supported him and let him use the boys' bathrooms, the school board later prevented the school from making that accommodation. That decision came after angry parents spoke out at two community meetings.

One person called him a "freak," and several repeatedly referred to him as a girl or young lady.

Related: Transgender Bathroom Bill Fails in Tennessee Legislature

California, Colorado, Connecticut, Massachusetts, New York and Washington all have enacted policies requiring schools to let transgender students to use the bathrooms that conform to their gender identity.

Related: ‘Don’t vote for hate’: Transgender teen asks to meet governor over ‘bathroom bill’

North Carolina's legislature passed and the state’s governor signed a law last month, requiring transgender people to use the bathroom that correspondents to the sex they were born with.

Tuesday's decision presumably blunts part of the force of the North Carolina law by prohibiting enforcement of the bathroom restriction in public schools. North Carolina Gov. Pat McCrory told reporters earlier this week that he is considering how his state should respond.