(i) " Magistrate" means the Judicial Magistrate of the first class, or as the case may be, the Metropolitan Magistrate, exercising jurisdiction under the Code of Criminal Procedure, 1973 (2 of 1974 ) in the area where the aggrieved person resides temporarily or otherwise or the respondent resides or the domestic violence is alleged to have taken place;