The professor grading the student's paper said that he was stupid.

Who is "he" in this prior sentence?
the student