A military court has sentenced a U.S. Army medic convicted of murder for his role in the execution-style slayings of four bound and blindfolded Iraqi detainees to life in prison with the possibility of parole.

The sentence was handed down Friday night after nearly five hours of testimony. Sgt. Joseph Leahy, 28, will also have his rank reduced to private, his pay forfeited and be dishonorably discharged.

Leahy was found guilty on charges of murder and conspiracy to commit murder by the nine-person jury who had heard testimony about the killings at the court-martial at the Army's Rose Barracks Courthouse since Wednesday.