Less than a minute into Bryce Dershem's valedictorian speech June 17, the microphone cut out. He had just told the audience at his New Jersey high school's graduation ceremony that he came out as queer in his freshman year.

When he made that revelation, Principal Robert Tull went to the back of the stage and appeared to unplug some cords, a video from the ceremony shows.

Suddenly, Dershem, 18, was silenced. Tull walked onstage and took the microphone from its stand.

When Tull took the microphone, he also took Dershem's prepared remarks.

Tull pointed to another copy of the speech on the lectern that did not have any references to sexuality or mental health.

A replacement microphone was brought to Dershem, but at that point, he said in an interview Saturday, he was frozen. Then his classmates at Eastern Regional High School, in Voorhees Township, cheered for him to continue his speech.

"As it was happening, passion was surging through my veins that, yes, I need to give this speech," he said, "because this is the exact kind of stigma that I want to fight against."

Dershem knew every word of his own version of the speech, because he had been working on his remarks for a month.

"I tried my very best to give the speech from memory, and I was just a mess throughout the whole speech and I was just so vulnerable," he said.

He spoke about how much he went through before he stood on the graduation stage.

"Beginning September of senior year, I spent six months in treatment for anorexia," he said in the speech. "For so long, I tried to bend and break and shrink to society's expectations."

Dershem wanted to emphasize to students that their identities are valid, he said.

"From a formerly suicidal, formerly anorexic queer," he said, he wanted the students to know that one person can save another person's life.

When he arrived at the ceremony, Dershem wore a pride flag over his robe. A school administrator wanted him to take it off, but he refused. During the speech, Dershem suspected Tull was trying to pretend that there were technical difficulties.

Tull had read Dershem's speech before the ceremony and wanted Dershem to deliver the version that the school administration had approved.

Tull and Dershem had been debating the contents of the speech for weeks, Dershem said, adding that he sent Tull three drafts, he said, because Tull said his speech was not broad enough for his 500 fellow seniors.

Tull and the Eastern Camden County Regional School District did not respond to requests for comment Saturday. The high school is in Voorhees, a township of about 30,000 people, about 20 miles from Philadelphia.

Superintendent Robert Cloutier told the Philadelphia Inquirer that the school district had not asked any students to remove mentions of "their personal identity" from their speeches.

The New York Times reviewed the high school's livestreamed video of the ceremony. Dershem's father reposted a clip of his son's speech on YouTube.

Just days before the ceremony, Dershem said Tull gave him an ultimatum: Either he could revise his speech or he would not be allowed to speak at all. He changed his speech, but the principal still did not like it, Dershem said.

"I felt like I was faced with this choice where I could either honor all the belief systems and virtues that I cultivated," Dershem said, "or I could just follow the administration."

Dershem talked over the decision with his family and decided that he was going to give the speech he always wanted to.

When his speech was over, the audience gave him a standing ovation. A woman thanked him afterward.

"She told me her son hadn't survived the pandemic due to mental health struggles and she started to cry," he said. "I thought, 'This was the one person I made feel less alone,' and I knew I did the right thing."

Dershem's father, Michael, said he could not believe Tull would turn off his son's microphone, but he said he could not be more proud of his son for regaining his composure and continuing.

"I probably watched the speech I don't know how many times since then," Michael Dershem, 56, said. "I'm a pretty tough guy, but, you know, I break down every time I watch it."

New Jersey Gov. Phil Murphy said on Twitter on Saturday that he was proud of Dershem for "speaking truth to power, and for your resilience and courage."

Dershem is getting ready to move to Massachusetts in the fall. He will be a student at Tufts University, where he plans to promote the rights of women and LGBTQ people.

"I'm so happy to know that people are watching this speech," he said. "I hope they believe in themselves more and feel less alone in their fight."