Medvedev will cede the presidency to Putin because he is less popular.

Who is "he" in this prior sentence?
Medvedev
The coach told the captain that he was fired.

Who is "he" in this prior sentence?
the captain
The students fell asleep during the professor's lectures because they were bored.

Who is "they" in this prior sentence?
The students