A man was sentenced to eight years in prison after multiple armed robberies in which he was wearing a Halloween mask.