Are Duchayuan and Liukegai subordinate or parallel in Ming and Qing Dynasties? Can you elaborate on it? Thank you.

Duchayuan, signed by officials in Ming and Qing dynasties, developed from the former Yushitai, and was in charge of supervision, impeachment and advice. Together with the Ministry of Punishment and Dali Temple, it is called the Third Division of Justice. In case of major cases, the third court will jointly hear them, also known as the "third court". In the 15th year of Hongwu in the Ming Dynasty (1382), the imperial censorate set up in the previous generation was changed to Douchayuan, with the left and right imperial censorate as the main officials, and the deputy imperial censorate and the imperial censorate of Jingshi as the subordinate officials. According to the thirteen ways, set up a supervision suggestion, patrol the counties, and investigate and deal with the dismissal of officials. In the Ming Dynasty, Duchayuan not only supervised the judicial organs, but also had the right to decide major issues and make decisions on minor issues, and was the highest supervisory organ. Duchayuan in Qing Dynasty was a law and discipline supervision organ, which not only audited death penalty cases, but also participated in autumn and hot trials and supervised officials. Duchayuan in Ming Dynasty was the highest supervisory organ, and Duyushi and six ministers were collectively called seven ministers, with a lofty position. In the Ming dynasty, six subjects were called officials, and thirteen subjects were called officials. Although the two systems are different, their positions and responsibilities are similar, so they are collectively called "separate officials", which also becomes a "desk wall", and the suggestion is a desk. The Sixth Division is the city wall, which constitutes the cross line of defense to correct impeachment and prevent officials from perfunctory official duties and breaking the law and discipline in the Ming Dynasty. Because they are engaged in "making suggestions" and even "getting wind of things", they are collectively called "speaking officials". In the Ming dynasty, it was no longer subordinate to other units, but became an independent institution. Because it is divided into six departments, it is called six departments. The handprint officers of six subjects all give things exactly seven products, some give things seven products left and right, and some things (from seven products). The number of subjects is different, but the power of six subjects is really great. In the Ming Dynasty, the chief of Douchayuan was the left and right capital censor (second class). In terms of rank, the rank of Duyushi is much higher than that of Liukeshi, but they are all independent supervisory organs, directly responsible to the emperor. There is no affiliation.