Who is he referring to in the following sentence?
The master rewarded the dog because he was a good companion.
the dog