Section 475(2) in The Code of Criminal Procedure, 1973
(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 such offence.