The Trump administration has ruled that the state of Minnesota and its high school athletics governing body are in violation of federal law by permitting transgender athletes to compete in girls’ sports.

The announcement, made on Tuesday, came from the civil rights offices of the US Department of Education and the Department of Health and Human Services, which concluded that such policies breach Title IX, the federal statute prohibiting sex discrimination in education.

Officials said the Minnesota Department of Education and the Minnesota State High School League had allowed biologically male athletes to take part in female competitions, including Alpine and Nordic skiing, lacrosse, track and field, volleyball, and softball, and to access facilities reserved for girls.