Phrase: I saw Jim yelling at some guy in a military uniform with a huge red beard. I don't know who he was, but he looked very unhappy.

Question: What does "he" in "who he was" refer to in the phrase?
Option A: Jim; Option B: the guy in uniform
Answer: b