Di Renjie
The Red Pavilion is a "gong'an" detective novel written by Robert van Gulik and set in Imperial China (roughly speaking the Tang Dynasty). It is a fiction based on the real character of Judge Dee (Ti Jen-chieh or Di Renjie), a magistrate and statesman of the Tang court, who lived roughly 630–700.