The Code of Criminal Procedure, 1973 (CrPc)
6. Classes of Criminal Courts.
Besides the High Courts and the courts constituted under any law, other than this Code, there shall be, in every State, the following classes of Criminal Courts, namely.
(i) Courts of Session;
(ii) Judicial Magistrate of the first class and, in any Metropolitan area, Metropolitan Magistrate;
(iii) Judicial Magistrate of the second class; and
(iv) Executive Magistrate.