Who is him in the following sentence?

Bill was robbed by John, so the officer arrested him.
John