Robber to serve 10-year term