521. Delivery to commanding officers of persons liable to be tried by Court-martial.
(1) The Central Government may make rules consistent with this Sanhita and the Army Act, 1950, the Naval Discipline Act, 1934, the Air Force Act, 1950, and any other law, relating to the Forces, for the time being in force, as to cases in which persons subject to military, naval or air force law, or such other law, shall be tried by a Court to which this Sanhita applies or by a Court-martial; and when any person is brought before a Magistrate and charged with an offence for which he is liable to be tried either by a Court to which this Sanhita applies or by a Court-martial, such Magistrate shall have regard to such rules, and shall, in proper cases, deliver him together with a statement of the offence of which he is accused, to the commanding officer of the unit to which he belongs, or to the commanding officer of the nearest military, naval or air force station, as the case may be, for the purpose of being tried by a Court-martial.
(2) Every Magistrate shall, on receiving a written application for that purpose by the commanding officer of any unit or body of soldiers, sailors or airmen stationed or employed at any such place, use his utmost endeavours to apprehend and secure any person accused of an offence, and deliver such person when apprehended, together with a statement of the offence of which he is accused, to such commanding officer.