The student was given punishment for doing something wrong.
⇑ Translate the sentence above by Google ⇑
Related: punishment