Old English him selfum, from him, dative/accusative personal pronoun, + self, here used as an inflected adjective.