Ex-cop Michael Slager sentenced to 19 to 24 years for shooting death of Walter Scott

Michael Slager

Former South Carolina police officer Michael Slager has been sentenced to 19 to 24 years in prison for the deadly shooting of unarmed black man Walter Scott.

WATCH: South Carolina Police Officer Charged With Murder

U.S. District Judge David Norton ruled today that the former officer committed second-degree murder and obstruction of justice. The judge's sentencing decision comes after Slager, who is white, pleaded guilty to a federal civil rights offense.

Slager shot and killed Scott on April 4, 2015, while Slager was an officer with the North Charleston Police Department. Witness video that surfaced shortly after the encounter appeared to show the moment Slager fatally shot Scott as he ran away. He was fired from the force after the shooting.

Walter Scott shooting: Sentencing hearing underway to determine ex-cop Michael Slager's fate

Michael Slager pleads guilty in connection with killing of Walter Scott

Judge declares mistrial in Michael Slager murder trial

Former South Carolina cop Michael Slager takes stand at his murder trial, says he fired until threat was stopped

Man who recorded Walter Scott's death testifies in court

Slager was charged in South Carolina with murder and pleaded not guilty. During the murder trial, Slager's attorney said his client shot Scott because he was in fear for his life. In 2016, the case ended in a mistrial. The state retrial and federal trial were expected to take place this year, but instead, in May Slager pleaded guilty to violating Scott's civil rights in federal court, ending the federal case against him and also resolving the state charges that were pending after the mistrial.

The judge's ruling today followed several days of testimony, including from Feiden Santana, the witness who filmed the shooting, and Judy Scott, Walter Scott's mother.

This story is developing. Please check back for more updates.