What case position does the «هُ» have in «أَكْرَمْتُهُ»?

Relative Nouns — Ṣilah, ʿĀʾid, Forms and Syntax