The police called headquarters for help and they refused.

Who is "they" in this prior sentence?
headquarters
The red team defeated the blue team because they missed the last penalty kick.

Who is "they" in this prior sentence?
the blue team
Joe slapped Jose in the face because he was angry.

Who is "he" in this prior sentence?

Joe