羁宦

jī huàn

(literary) to serve as a government official far from one's native place

variant of 羈|羁[ji1]

huàn

imperial official