Who is he in the following sentence?

Student A beat student B, because he slacked off.
student B