A mandarin was a bureaucrat scholar in the history of China, Korea and Vietnam.
Three Ming Dynasty mandarins of varying ranks.
A 15th-century portrait of the Ming official Jiang Shunfu. The cranes on his mandarin square indicate that he was a civil official of the sixth rank.
A Qing photograph of a government official with mandarin square in the front
Nguyễn Văn Tường (chữ Hán: 阮文祥, 1824–1886) was a mandarin of the Nguyễn dynasty in Vietnam.
A yamen was the administrative office or residence of a local bureaucrat or mandarin in imperial China, Korea, and Vietnam. A yamen can also be any governmental office or body headed by a mandarin, at any level of government: the offices of one of the Six Ministries is a yamen, but so is a prefectural magistracy. The term has been widely used in China for centuries, but appeared in English during the Qing dynasty.
The former yamen in Kowloon Walled City Park, Hong Kong.
Drawing Floor plan of the yamen at Shaoxing Fu, Zhejiang Province, 1803.
The entry gate of the yamen of the Nguyễn dynasty period Tuần phủ of the Tuyên Quang province and the blockhaus of the lính cơ in Tuyên Quang, Tonkin, French Indochina.
A prison cell in the former Pingyao yamen