In court Friday, a judge sentenced Clinton Robert Hurley to life in prison for killing MCSO Deputy Juan Miguel Ruiz at the Avondale substation.