Who is he in the following sentence?

Allen laughed at Jimmy because he told a funny joke.
Jimmy