Cain Velasquez has just been sentenced to five years in prison for his alleged role in a 2022 attempted murder.
A judge issued the order on Monday afternoon in a Santa Clara, Calif. courtroom ... roughly three years after the UFC legend was accused of trying to kill Harry Goularte, a man who allegedly molested one of Velasquez's close relatives.
Velasquez appeared in person for the hearing ... and wore a collared shirt and a dark-colored blazer.