jī huàn
(literary) to serve as a government official far from one's native place
羁
jī
variant of 羈|羁[ji1]
宦
huàn
imperial official