legal ground
Article 162 of the Criminal Procedure Law
When investigating a closed case, the public security organ shall ensure that the facts of the crime are clear and the evidence is true and sufficient, write a prosecution opinion and transfer it to the people's procuratorate at the same level for examination and decision together with the case file and evidence; At the same time, inform the criminal suspect and his defense lawyer about the transfer of the case.
If a criminal suspect voluntarily pleads guilty, it shall be recorded and transferred with the case, and the relevant information shall be stated in the prosecution opinion.