In criminal law, sentence means ‘to punish’ or ‘punishment’. The punishment comes from a judge in a court.