Do "Jim" and "he" point to the same thing in the following sentence?

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.
no