law: Code of Criminal Procedure Act, 1973
  
  44.Arrest by Magistrate.-
  (1) When any offence is committed in the
  
  presence of a Magistrate, whether Executive or Judicial, within his local
  
  jurisdiction, he may himself arrest or order any person to arrest the offender,
  
  and may thereupon, subject to the provisions herein contained as to bail, commit
  
  the offender to custody.
  (2) Any Magistrate, whether Executive or Judicial, may at any time arrest or
  
  direct the arrest, in his presence, within his local jurisdiction, of any
  
  person for whose arrest he is competent at the time and in the circumstances to
  
  issue a warrant.