Fetching details from the dictionary...
government service; official position; civil service
高い官職に就くことを望んだ。
He aspired to hold a high government post.
官職を辞して故郷に帰った。
He resigned from office and returned home.
その官職は世襲制だった。
The government post was hereditary.