One of the black Air Force Academy cadets who claimed he was targeted by racial slurs scrawled outside his dorm room actually wrote the hateful messages himself, school officials said this week.

Lt. Gen. Jay Silveria — whose passionate message to cadets at the Air Force Academy’s Preparatory School in Colorado went viral after five black cadets found the words “go home” and an accompanying racial slur outside their dorm in September — confirmed the finding and reiterated the need for inclusiveness at the academy outside Colorado Springs.

“Regardless of the circumstances under which those words were written, they were written, and that deserved to be addressed,” Silveria told the Colorado Springs Gazette in an email. “You can never overemphasize the need for a culture of dignity and respect — and those who don’t understand those concepts, aren’t welcome here.”

The cadet candidate, whose identity was not disclosed, was no longer enrolled, although it’s unclear whether he was expelled or withdrew from the academy. Several sources told the Gazette that he scrawled the words on a whiteboard outside his dorm room in a misguided attempt to get out of unspecified consequences for unrelated misconduct at the prep school.

“We can confirm that one of the cadet candidates who was allegedly targeted by racist remarks written outside of their dorm room was actually responsible for the act,” academy spokesman Lt. Col. Allen Herritage told the newspaper in an email. “The individual admitted responsibility and this was validated by the investigation.”

Herritage declined to discuss details of the incident due to privacy concerns, but said racism “has no place” at the academy.

“We will continue to create a climate of dignity and respect for all, encourage ideas that do so, and hold those who fail to uphold these standards accountable,” Herritage’s email continued.

Silveria’s frank, emotional message to cadets in late September made national headlines, and a video of the speech that was posted online has been viewed more than 1 million times. At one point, Silveria urged cadets to take out their phones to record his words.

“If you can’t treat someone with dignity and respect, then you need to get out. If you demean someone in any way, then you need to get out. And if you can’t treat someone from another race or a different color skin with dignity and respect, then you need to get out.”