Types of detention
(1) Administrative detention refers to the most severe punishment given to general illegal acts in violation of the Law on Public Security Administration Punishment, which belongs to one of administrative punishments. Retention period is greater than 1 day and less than 15 days. For multiple illegal acts, the combined execution of detention shall not exceed 20 days.
(2) judicial custody refers to the compulsory measures taken against those who obstruct civil and administrative proceedings, and the longest detention time is 15 days. It is worth noting that judicial custody is generally detained for the first time for the parties who are "capable of fulfilling the decision to refuse to execute the judgment".
(3) Criminal detention refers to compulsory measures taken against parties suspected of committing crimes. Compared with the first two, this detention measure is the most severe and the detention time is the longest.
Legal basis:
Criminal Procedure Law of the People's Republic of China
Article 177 If a criminal suspect has no criminal facts or is under any of the circumstances specified in Article 16 of this Law, the people's procuratorate shall make a decision not to prosecute. If the circumstances of the crime are minor and it is not necessary to sentence or exempt from punishment according to the provisions of the Criminal Law, the people's procuratorate may make a decision not to prosecute. In cases where the people's procuratorate decides not to prosecute, the property sealed up, detained or frozen during the investigation shall be released at the same time. If the plaintiff who is sorry needs to be given administrative punishment, punishment or confiscation of illegal income, the people's procuratorate shall put forward procuratorial opinions and transfer them to the relevant competent authorities for handling. The relevant competent authorities shall promptly notify the people's procuratorate of the results.