Convicted cop killer Markeith Loyd was sentenced to death by a judge Thursday morning for the murder of Orlando police Lt. Debra Clayton in 2017.

Judge Leticia Marques made her final decision months after a jury recommended the death penalty for Loyd, 46. Loyd was found guilty on five charges, including first-degree murder, in the shooting death of Orlando police Lt. Debra Clayton outside of a Walmart in January 2017 while he was on the run for killing his pregnant ex-girlfriend, Sade Dixon, in December 2016.

Orlando police officers who were working with Clayton when she was killed were in the courtroom to hear the judge’s decision. One of Clayton’s cousins gasped with relief when Marques announced Loyd would be sentenced to death, ClickOrlando reports.

The murder of Lt. Clayton indirectly caused the death of a second officer. Orange County Sheriff's Deputy Norman Lewis died in a motorcycle crash while assisting in the search for Clayton's killer.

Loyd asked to address the court afterward and when he was denied, he was taken away rambling.

Loyd was already serving a life sentence for the murder of Dixon.

Appeals are already under way on Loyd's behalf.