# The Outsider Who Ruled Pingyao From Behind One Wall

Inside Pingyao's walled county yamen, where one magistrate judged a county and actors now replay his verdicts.

- Location: Pingyao County Yamen Museum, Pingyao, Shanxi, China
- Topics: politics, history, architecture
- Web page: https://tourpods.com/stories/the-outsider-who-ruled-pingyao-from-behind-one-wall
- Listen: narrated audio in the TourPods iOS app (https://apps.apple.com/app/tourpods)

## Key facts

- The Pingyao County Yamen was established in its recorded form in 1346, the sixth year of the Yuan dynasty's Zhizheng era, and the oldest building still standing there dates to 1346.
- According to China Daily, the county magistrate would have simple meals, drink tea, and treat his superiors in that rear tower.
- The compound faces south on a symmetrical plan, about 203 meters north to south and 131 meters east to west, covering roughly 26,000 square meters.
- The yamen held over 300 rooms, including offices, a court, meeting rooms, residential quarters, a garden, and a prison.
- The yamen was the office and home of the magistrate, who was sent to act as mayor, judge, and senior official for Pingyao.
- An imperial county magistrate oversaw tax collection, the census, roads, and water control, and acted as both prosecutor and judge, the sole judge of guilt or innocence.
- Under the law of avoidance, continued by the Ming and Qing, officials could not serve in their home districts, and a magistrate typically served about three years in one post.
- The main hall carries a plaque reading "a mirror of justice hung overhead," meant to signal that the magistrate was fair and honest.

## Story

A man in a magistrate's robes sits beneath a plaque promising that a mirror of justice hangs overhead. Below him, costumed performers argue a case in local dialect. Then he settles it the old way: he flings a black token from his desk to the floor. Had it been red, the sentence would have been death.

It's theater now, staged daily in the court hall of Pingyao's county yamen. But for centuries, the script was real.

This walled compound, about two hundred meters deep and a hundred thirty wide, held more than three hundred rooms: offices, a courtroom, a garden, the magistrate's own home, and a prison. The oldest building still standing, a rear tower where the magistrate took tea with his superiors, dates to 1346.

The man at the center was a stranger by design. Imperial rules barred officials from serving in their home districts, and a magistrate typically stayed about three years. In that time he was mayor, tax collector, census taker, prosecutor, and judge, the sole decider of guilt or innocence for the county.

Not every quarrel reached him. The Ming founder, Zhu Yuanzhang, ordered mediation pavilions like the one by this gate, where neighbors had to try settling disputes first. Only if that failed would the magistrate take the case.

Those who lost could end up in the west yard, in a prison China Daily calls the only remaining Qing dynasty jail in China. Even there, rank mattered: some cells had a bed and a window, while common felons got thick walls and darkness.

After 1949 it became the county's People's Government, and most old halls came down. Restoration began in 1998, and in 2000 it reopened as a museum.

The robes are costume, the verdict is rehearsed, and the token bounces harmlessly. Yet on this same ground, a single outsider, three years at a time, decided who went home and who went to the west yard.

More stories in Pingyao, Shanxi: https://tourpods.com/country/cn/city/pingyao-cn.md
