Killer sentenced to life in prison