Serial armed robber sentenced to 22 years in prison