Electronic Crimes Act, 2007 as amended vide Prevention of Electronic Crimes Act, 2016 was enacted to prevent unauthorized acts with respect to information systems and provide for related offences as well as mechanisms for their investigation, prosecution, trial and international co-operation with respect thereof and for matters connected therewith or ancillary thereto. It extends to the whole of Pakistan and shall apply to every citizen of Pakistan wherever he may be and also to every other person for the time being in Pakistan.