Robber sentenced to life in prison on Wednesday