In fact, yamen is transformed from yamen, whose nickname is six doors. In ancient times, the sharp teeth of wild animals were often used to symbolize strength. Yamen is an ancient military term and another name for the gate of a military camp. At that time, wars were frequent, and the king ruled the country and protected his family entirely by force, so he paid special attention to military generals. Officers are proud of this and often put the claws and teeth of wild animals in their offices.
Later, because of trouble, wood was carved into big animal teeth outside the military camp, and there was a tooth flag with animal teeth at the end of the flagpole and the edge cut into teeth. Therefore, Yingmen is also called Yaomen figuratively. By the end of the Han Dynasty, Yamen became another name for the gate of the military camp, and the name was gradually transferred to the government.
Ancient records
1, where officials used to work.
Biography of Song Shiliang in Northern Qi Dynasty: Every day, the yamen is empty and silent, and there is no lawsuit.
Ming Dynasty's "Horse Daily Copying Cards": During the orthodox period, the Imperial Capital built a yamen, and all the cards were written by Cheng Nanyun.
Li Minbi of North Korea in the Ming Dynasty recorded in The Apocalypse Continued by Mr. Jingting: On June 11th, the third year of the Apocalypse, in Gengwu, the military gate (Yuan Keli) paid the tourists from North Korea according to the inspection, and they were not allowed to enter the Shuicheng Gate. Last night, I reported to the yamen, and I can only enter the cloud after reporting.
In the Qing Dynasty, Li Yu's "Jade Scratches the Head, Tricks the Picture": I only hope to invite a few letters of introduction and go to various yamen.
Lu Xun's Fan Ainong: All the characters in the yamen were brought in, and they changed their robes in less than ten days, and the weather was not cold.
2. Metaphor bureaucracy.
Ba Jin's About (1): The government's yamen is not grand, there are not many officials, but it has authority.
Zhang Shishan's Han Baoshan with Handle V: Mom! Let's go! This yamen is not our common people's!
3. The gate of the Tang Dynasty palace.
Biography of Zhang Zhongfang in the Old Tang Dynasty: Hemen made the horse open the door obliquely, and the biography often served Zuo Sanqi. When I got off work, Yuan Zhi announced it in front of Beijing, and then the yamen clamored for war.
Reference to the above content: Baidu Encyclopedia-Yamen