The court sentenced him to life imprisonment