The pony behaved well, sir, and showed no vice; but at last he just threw up his heels and tipped the young gentleman into the thorn hedge. *He* wanted me to help him out, but I hope you will excuse me, sir, I did not feel inclined to do so.

Are "He" and "young gentleman" the same thing in the aforementioned sentence?
yes