John thanked Bill because he was helpful.

Who is he referring to in this sentence?
Choose your answer from: a). John; b). Bill;
b).