The federal government has ruled that the largest high school district in Illinois violated the law by allowing a transgender student to use only part of the girls' locker room.

Palatine-based Township High School District 211 didn't provide sufficient accommodation for a formerly male transgender student, the U.S. Department of Education's Office of Civil Rights concluded after a two-year investigation.

The district changes the name, gender and pronouns of transgender students on school records and allows them to use the bathroom of their identified gender and play on the sports team of that gender. But the district allows the students to use only a blocked-off, unused portion of locker rooms, citing the privacy of the other 12,000-plus students in the district.

The department ruled the district didn't go far enough in accomodating transgender students, giving it 30 days to reach an agreement with authorities or risk having federal education funding suspended or terminated, according to the Chicago Tribune.

Read more on WashingtonExaminer.com