Because of the knowledge of English he obtained employment in the Hong Kong colonial government between 1851–57 and 1857–61, he served the Chinese Maritime Customs Service as interpreter and chief secretary.
His proficiency in English led him to employment within the Hong Kong colonial government's Chinese Maritime Customs Service, where he served as both an interpreter and chief secretary during two separate periods.