COLORADO SPRINGS, Colo. — A Colorado judge has sentenced a man to 74 years in prison for the random shooting death of a U.S. Army officer in 2018.

The judge said in handing down the sentence on Friday that Gilberto Chavez Jr. had killed 28-year-old Capt. Daniel Chamberlain Lehman for “fun.” Lehman, an officer at Fort Carson from Santa Fe, New Mexico, was shot in downtown Colorado Springs while walking home in September 2018.

Officials say Chavez was under the influence of drugs and bragged about the shooting afterward. A jury rejected Chavez’s self-defense argument and convicted him of second-degree murder.