LawpatraLawpatra.ai

Lawpatra is an AI-powered legal education platform designed to help aspirants crack premier law entrance and judiciary examinations. With adaptive mock tests, precision analytics, and 24/7 personalized AI tutoring, we provide a comprehensive ecosystem for your entire legal career journey.

Test series on the goGoogle Play

Explore

  • Prepare for our exams
  • Bare Acts
  • Blog
  • Download resources

Company

  • About
  • Careers
  • Contact us

Legal

  • Privacy Policy
  • Terms of Service
  • Account deletion

Product

  • AI Tutor
  • Features
  • How it works

Law Entrances

  • CLAT
  • CLAT PG
  • AILET
  • SLAT
  • MH CET Law

Judiciary

  • MPSC Civil Judge
  • Chhattisgarh Judiciary
  • OPSC Civil Judge
  • Gujarat Judiciary
  • Delhi Judicial Services
  • UP PCS-J
  • Rajasthan Judiciary Service

APO/ADPO

  • Bihar APO
  • Delhi APP
  • Haryana ADA
  • Madhya Pradesh ADPO
  • Rajasthan APO
  • Uttar Pradesh APO
  • Uttarakhand APO

Bare Acts

  • BNS
  • BNSS
  • BSA
  • IPC
  • CrPC
  • IEA
  • HMA
  • IDA
  • MVA

© 2026 Blingwork Technologies Pvt. Ltd. All rights reserved.

Offices: Hyderabad & Jodhpur

LawpatraLawpatra
CrPC, 1973
Start Practicing
CrPCChapter XXVSection 335
Section335

Person acquitted on such ground to be detained in safe custody

AI Assist

Summary

When a trial finds the accused did the act alleged but was legally incapacitated (for example of unsound mind) so the act would not count as an offence because of that incapacity, the magistrate or court must order either detention in safe custody or delivery to a relative or friend who applies and gives security. Detention in an asylum must follow State rules; delivery can include conditions like producing the person for inspection as the State directs. The magistrate or court must report the action to the State Government.

Example

Ravi, while mentally unwell, injured a neighbour and the court finds he committed the act but was of unsound mind. The magistrate orders him detained in safe custody at a suitable hospital under State rules and reports this to the State Government; if a brother applied and gave security, the magistrate could instead hand him over to that relative with conditions.

Bare Act

Enacted text

(1) Whenever the finding states that the accused person committed the act alleged, the magistrate or Court before whom or which the trial has been held shall, if such act would, but for the incapacity found have constituted an offence,

  • (a) order such person to be detained in safe custody in such place and manner as the Magistrate or Court thinks fit; or

  • (b) order such person to be delivered to any relative or friend of such person.

(2) No order for the detention of the accused in a lunatic asylum shall be made under clause (a) of Sub-Section (1) otherwise than in accordance with such rules as the State Government may have made under the Indian Lunacy Act, 1912 (4 of 1912).

(3) No order for the delivery of the accused to a relative or friend shall be made under clause (b) of Sub-Section (1) except upon the application of such relative or friend and on his giving security to the satisfaction of the Magistrate or Court that the person delivered shall-

  • (a) be properly taken care of and prevented from doing injury to himself or to any other person;

  • (b) be produced for the inspection of such officer, and at such times and places, as the State Government may direct.

(4) The Magistrate or Court shall report to the State Government the action taken under Sub-Section (1).

Keep going
Newsletter

Join the top 1% of law aspirants

Get weekly high-yield legal updates, landmark judgment breakdowns, and smart prep strategies sent straight to your inbox.

We never share your email.

Previous year papers

Pick your exam. we'll email the most recent paper.

Download previous year papers

For

We'll never share your email. Promise.

XXV

Chapter XXV

Provisions As To Accused Persons Of Unsound Mind

In this chapter

  • 328Procedure in case of accused being lunatic
  • 329Procedure in case of person of unsound mind tried before Court
  • 330Release of person of unsound mind pending investigation or trial
  • 331Resumption of inquiry or trial
  • 332Procedure on accused appearing before Magistrate or Court
  • 333When accused appears to have been of sound mind
  • 334Judgment of acquittal on ground of unsoundness of mind
  • 335Person acquitted on such ground to be detained in safe custody
  • 336Power of State Government to empower officer in charge to discharge
  • 337Procedure where lunatic prisoner is reported capable of making his defence
  • 338Procedure where lunatic detained is declared fit to be released
  • 339Delivery of lunatic to care of relative or friend
Previous · Section 334Judgment of acquittal on ground of unsoundness of mindNext · Section 336Power of State Government to empower officer in charge to discharge