What was a person of high rank in china?

A "mandarin".