A 19-year-old Waterloo man has received a 25-year prison sentence for allegedly aiding in the robbery of a convenience store.