The man will spend the rest of his life in jail.