The man charged with killing a York County, SC, deputy and shooting three other officers pleaded guilty Tuesday morning, reports WSOC-TV.

Christian McCall reportedly ambushed the four officers back in January when they responded to a domestic violence call.

York County Detective Mike Doty was shot and later died at the hospital. The three other officers -- Deputies Buddy Brown and Randy Clinton and York police Officer Kyle Cummings -- were injured but survived the shooting.

McCall was charged with murder, three counts of attempted murder, four counts of using a weapon during a violent crime, and first-degree domestic violence. He faced the possibility of the death penalty if he went to trial.

By pleading guilty, McCall waives all rights to appeals or any post-conviction hearings. His sentence is life without parole.