A former U.S. Air Force Academy cadet was sentenced in a Denver federal court to five years in prison following his conviction for raping a female cadet, authorities said.

U.S. District Court Judge Christine M. Arguello sentenced Alvaro Pablo Velarde, 20, of Lima, Peru, on Tuesday on two counts of aggravated sexual abuse and one count of abusive sexual contact, according to U.S. Attorney Jason Dunn’s office.

Valarde raped the cadet in her dorm room on Oct. 23, 2018, ignoring multiple pleas by the victim to stop, the news release said.

The victim suffered severe pain and sought medical attention. A sexual assault examination revealed that she sustained physical injuries during the rape, and an academy doctor diagnosed her with a concussion.

Velarde was removed from enrollment at the Air Force Academy before the trial.

“In this instance, one of our own was violently raped by a cadet who was a guest from a foreign country. This violent assault has done tremendous damage — both to the victim, as well as to the Air Force Academy itself,” Dunn said in the news release.

“I am also proud of the victim, who bravely stepped forward and made sure her story was told,” he said. “We owe her a debt of gratitude for what she has done for justice, as well as for the service she will provide in defense of our nation.”