HOUSTON >> A federal judge on Friday denied a request by a Black high school student in Texas for a court order that the student’s lawyers say would have allowed him to return to his high school without fear of having his previous punishment over his hairstyle resume.

Darryl George had sought to reenroll at his Houston-area high school in the Barbers Hill school district after leaving at the start of his senior year in August because district officials were set to continue punishing him for not cutting his hair. George had spent nearly all of his junior year serving in-school suspension over his hairstyle.

The district has argued that George’s long hair, which he wears to school in tied and twisted locs on top of his head, violates its policy because if let down, it would fall below his shirt collar, eyebrows or earlobes.

George, 19, had asked U.S. District Judge Jeffrey Brown in Galveston to issue a temporary restraining order that would have prevented district officials from further punishing him if he returned and while a federal lawsuit he filed proceeds.

But in a ruling issued late Friday afternoon, Brown denied George’s request, saying the student and his lawyers had waited too long to ask for the order.

George’s request had come after Brown in August dismissed most of the claims the student and his mother had filed in their federal lawsuit alleging school district officials committed racial and gender discrimination when they punished him.

The judge only let the gender discrimination claim stand.

In his ruling, Brown said he also denied George’s request for a temporary restraining order because the school district was more likely to prevail in the lawsuit’s remaining claim.

Brown’s ruling was coincidentally issued on George’s birthday. He turned 19 years old on Friday.

Allie Booker, an attorney for George, and a spokesperson for the Barbers Hill school district did not immediately return a call or email seeking comment.