A high school valedictorian alleges her school silenced her after she went off-script in her commencement speech and listed the names of black teens killed by police brutality.

Rooha Haghar, the valedictorian at Emmett J. Conrad High School in Dallas, Texas, initially included the names of black teens, including Trayvon Martin and Tamir Rice, who were killed by police force in her speech. That was until she was told by a teacher and principal Temesghen Asmerom to cut them out after an initial review.

"When I first read my speech to my teacher, I was told mentioning those names will incite anger towards white people, a group which according to him experience high levels of discrimination of America," she wrote in a statement on Twitter, adding that those lines allegedly broke a "valedictorian speech guideline" that she says was inaccessible to her.

Then, on graduation day, Haghar listed the names of Martin and Rice before the mic was silenced.

It was cited as a "technical difficulty," she alleges. Asmerom is visible in the video making a gesture.

"I knew none of the consequences I could possibly face came even slightly close to what the families of the victims have to live with on a daily basis," she wrote about the decision to read the original speech.

More:We found 85,000 cops who’ve been investigated for misconduct. Now you can read their records.

More:A Texas teacher asked President Donald Trump via Twitter to 'remove the illegals.' She was fired this week

"We educate leaders of tomorrow and encourage student voices, and we are looking into this matter," a statement from the Dallas Independent School District to USA TODAY says.

Representatives from Conrad High School did not immediately respond to USA TODAY's request for comment.

Follow Joshua Bote on Twitter: @joshua_bote