The Supreme Court on Monday left in place an appellate ruling barring a North Carolina public charter school from requiring girls to wear skirts to school.

The justices declined without comment to hear an appeal from the Charter Day School in the eastern North Carolina town of Leland. A federal appeals court had ruled that the school's dress code violated students' constitutional rights.

SIX OF THE MOST ANTICIPATED SUPREME COURT CASES WE COULD GET DECISIONS ON BY JULY 4

supreme court

A general view of the U.S. Supreme Court on June 13, 2023. The Supreme Court has agreed with an appellate ruling to bar a North Carolina school from enforcing female students to wear skirts. (AP Photo/Mariam Zuhaib, file)

CLICK HERE TO GET THE FOX NEWS APP 

School founder Baker Mitchell had said the dress code was intended to promote "chivalry" by the male students and respect for the female students, according to court documents.

The dress code already has been changed to allow girls to wear pants, in line with the lower court ruling.