Tim bought Eric a gecko, because he liked him.

Who is he referring to in this sentence?
Tim