Aniya Wolf arrived at William Penn High School's prom to cheers on May 21. She was asked to leave her Catholic school's prom earlier this month because she arrived wearing a suit instead of a dress. (WHTM)

Aniya Wolf had planned to go to her school’s prom, and her mother, Carolyn, told WHTM in Harrisburg, Pa., that the family had even purchased a new suit for Aniya to wear.

This sartorial choice wasn’t anything particularly new, Aniya and Carolyn told the ABC affiliate. Carolyn Wolf told the station that she thought her daughter was “beautiful” in a suit. Aniya Wolf said she has always been “more masculine.”

Wolf’s school, Bishop McDevitt High School in Harrisburg, took issue with her prom attire, though. “The dress code for the prom specified girls must wear formal dresses,” said a statement from the school, which was posted by WHTM. “It also stated that students who failed to follow the dress code would not be admitted.”

Wolf and her family said the school’s rules for the dance came as a last-minute surprise; they had previously signed a dress code that didn’t explicitly state dresses had to be worn — and then Wolf was presented with another dress code the day of the Bishop McDevitt dance, Wolf wrote on Facebook.

The Catholic school, however, said parents had been notified of the regulations months ago.

Whatever the case, Wolf’s plans for attending her own prom were stymied: The Associated Press reports that she was “thrown out” of the event. “Sadly, I was not admitted into the Prom,” she wrote on Facebook in early May. “I was forced to leave.”

But another high school then stepped in, and on Saturday night Wolf attended the prom for William Penn Senior High School, in York, Pa.

“We do embrace all,” Brandon Carter, the public school’s principal, told the York Daily Record.

Wolf wore a suit, as she had planned all along.

“This is Aniya,” Carolyn Wolf told WHTM. “This is who Aniya has been since she’s very young. And she would not look right in a dress. She looks great in a suit.”

Bishop McDevitt High School did not immediately return a message from The Post on Monday.

“I love McDevitt. I love my school, I love the coaches, I love the teachers. They’re all great,” Aniya Wolf told WHTM. “They’ve never frowned upon me for the way I’ve dressed before in the past. But they did make me feel very discriminated against.”

Carter, the William Penn principal, said a social studies teacher raised the issue with him and asked if the invite could be extended, according to the Daily Record. “We’ve had many students that have worn whatever they felt comfortable in … it was just never an issue,” the social studies teacher, Maggie Mafnas, told the newspaper.

The disagreement over the Bishop McDevitt dress code caught the attention of Ashlyn Harris, Orlando Pride goalkeeper.

Rob McElhenney, creator of the cable sitcom “It’s Always Sunny in Philadelphia,” also took notice.

Here’s the Daily Record, describing Wolf’s prom night:

Wolf was among the large number of teens who arrived in fashion — the very thing that Wolf has said got her barred from her own prom for wearing a suit. Those who were watching the procession of cars drop off students for the night clapped for her and took pictures with their cellphones. Wolf went inside to enjoy prom and did not speak with the media.

Read More:
How two McDonald’s all-American basketball stars ended up going to prom together

‘It’s not fair to the boys’: After school blocks same-sex prom nomination, lesbian couple fight back

Teenager who opened fire at Wisconsin prom dies, police say