Section 3(1)(b) in The Code of Criminal Procedure, 1973
(b)any reference to a Magistrate of the second class shall, in relation to an area outside a metropolitan area, be construed as a reference to a Judicial Magistrate of the second class, and, in relation to a metropolitan area, as a reference to a Metropolitan Magistrate;