COLUMBIA, S.C. (AP) – A South Carolina school district is apologizing for the way boys and girls were treated differently at an event about leadership and character for elementary school students.

News outlets report that many boys at Pickens Elementary School dressed in collared shirts and ties and heard from male role models from the community at a recent event called a “summit.”

Girls, meanwhile, dressed in T-shirts and met with Pickens High School cheerleaders at a separate event called a “retreat.”

A backlash erupted on social media with critics complaining about the differing experiences for boys and girls. Some accused officials of sexism.

The district is now apologizing. A statement says the events weren’t meant to send a message that students should display traits or pursue goals based on their gender.

(Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)