(CNN)In late September, after racist slurs were found on the message boards of five black cadet candidates at the Air Force Academy Preparatory School, the school's superintendent was angry.
Lt. Gen. Jay Silveria told cadets to line up and pull out their phones to remember his message, and he forcefully denounced racism and intolerance.
"If you're outraged by those words, then you're in the right place. That kind of behavior has no place at the Prep School," Silveria said.
The speech was posted on Air Force Academy's Facebook page and quickly went viral. The Air Force launched an internal investigation to find the culprit.
But on Tuesday, Air Force Academy officials said that one of the black cadet candidates actually wrote the racist messages.
"We can confirm that one of the cadet candidates who was allegedly targeted by racist remarks written outside their dorm room was actually responsible for the act," the Academy said in a written statement. "The individual admitted responsibility and this was validated by the investigation."
The vandalism was written in black marker and said "Go home" with the N-word, according to CNN affiliate KRDO.
Lt. Col. Allen Herritage, director of public affairs with the Academy, said that the cadet responsible admitted his guilt when confronted. The individual has "received administrative punishment" and is no longer at the preparatory school, Herritage said.
The four other students that were the target of the vandalism are still at the Prep School, which is on the same campus in Colorado Springs, Colorado, as the Air Force Academy. The Prep School helps ready about 240 cadets each year to enter the academy.