The Chinese Maze Murders is a gong'an historical mystery novel written by Robert van Gulik and set in Imperial China.
It is a fiction based on the real character of Judge Dee (Ti Jen-chieh or Di Renjie - chin: 狄仁傑), a magistrate and statesman of the Tang court, who lived roughly 630–700.
However, van Gulik's novel is set not in the Tang, but in the Ming dynasty (1368–1644), with society and customs depicted in the book reflecting this period.
Then the author translated the book into Chinese himself and it was published by the Nanyang Press in Singapore in 1953.
The book contains a postscript by the author on the Chinese Imperial Justice system (something that Van Gulik was an expert on).