The Dayong Dynasty had been in peace for thirty years. On the surface, the sea and rivers were clear, but internally, corruption was rampant in the officialdom, local evil was rampant, and superstition among the people was prevalent. Many villains took the opportunity to commit crimes in the name of "sinister", and old injustice cases piled up. The dynasty specially set up the "Ming Punishment Department", which was independent of the Ministry of Punishment, Dali Temple and the Metropolitan Procuratorate. It specialized in handling mysterious cases, unresolved cases and old cases that had been rejected by various yamen. Although it had the privilege of reporting directly to the imperial power, it was often short of funds and withered manpower due to repeated interference with the interests of the powerful. It was ostracized and ridiculed by colleagues in the court, and was privately called the "Yin Si Yamen" by the people. The handling of cases was restricted.