According to the relevant provisions of the Criminal Procedure Law of People's Republic of China (PRC), witnesses have the obligation to testify truthfully in litigation activities and need to sign a letter of guarantee in court. If witnesses commit perjury or make false statements, they may be liable for perjury or other liabilities. The following legal basis lists the specific rights and obligations. Witness's litigation right: 1. Have the right to use the spoken and written languages of their own nationalities in litigation. 2. Have the right to consult the transcripts of testimony, and have the right to request supplements or amendments if the contents of the transcripts are inconsistent with the contents of testimony. 3. The functionaries of public security and judicial organs have the right to lodge a complaint against the infringement of their litigation rights or personal insults. 4. Have the right to claim compensation for economic losses such as lost time due to testimony. 5. Have the right to ask the public security and judicial organs to ensure the safety of themselves and their close relatives, and prevent them from being illegally infringed by giving testimony. Witness's litigation obligation: 1. Those who provide truthful testimony, intentionally commit perjury or conceal criminal evidence shall bear legal responsibility. 2. Have the obligation to answer inquiries from public security and judicial personnel. 3. Participate in court trials and accept inquiries and cross-examinations from both the prosecution and the defense. 4. Abide by the court discipline and obey the judge's command. 5. Keep the contents inquired by public security and judicial personnel confidential.
Legal objectivity:
Article 305 of the Criminal Law: In criminal proceedings, witnesses, expert witnesses, recorders and translators who intentionally make false proofs, expert appraisals, records and translations of important cases with the intention of framing others or concealing criminal evidence shall be sentenced to fixed-term imprisonment of not more than three years or criminal detention; If the circumstances are serious, they shall be sentenced to fixed-term imprisonment of not less than three years but not more than seven years.