Section 56 CrPC imposes the duty to produce the arrested person before a Magistrate within 24 hours on the police officer who made the arrest, not only on the investigating officer.
Sanganagouda A.Veeranagouda v. State of Karnataka2005 (12) SCC 468; 2005 (8) Scale 7para 9