500.  Discharge  from  custody._(1)  As  soon  as  the  bond  has  been  executed,  the  person  for  whose appearance it has been executed shall be released ; and, when he is in jail, the Court admitting him to bail shall issue an order of release to the officer incharge of the Jail, and such officer on receipt of the order shall release him. (2)  Nothing  in  this  section,  section  496  or  section  497  shall  be  deemed  to  require  the  release  of  any person liable to be detained for some matter other than that in respect of which the bond was executed. 501. Power to order sufficient bail when that first taken is insufficient. lf, through mistake, fraud or otherwise, insufficient sureties have been accepted, or if they afterwards become insufficient, the Court may issue a warrant of arrest directing that the person released on bail be brought before it and may order him to find sufficient sureties, and, on his failing so to do, may commit him to Jail. 502.  Discharge  of  sureties.­(1)  All  or  any  sureties  for  the  attendance  and  appearance  of  a  person released  on  bail  may  at  any  time  apply  to  a  Magistrate  to  discharge  the  bond,  either  wholly  or  so  far  as relates to the applicants. (2)  On  such  application  being  made,  the  Magistrate  shall  issue  his  warrant  of  arrest  directing  that  the person so released be brought before him. (3)  On  the  appearance  of  such  person  pursuant  to  the  warrant,  or  on  his  voluntary  surrender,  the Magistrate shall direct the bond to be discharged either wholly or so far as relates to the applicants, and shall call upon such person to find other sufficient sureties, and, if he falls to do so, may commit him to custody.   CHAPTER XL OF COMMISSIONS FOR THE EXAMINATION OF WITNESSES 503. When attendance of witness may be dispensed with._(1) Whenever, in the course of an inquiry, a trial or any other proceeding under this Code, it appears to  1*  *  *,  2* * * a Court of Session or the High Court that the examination of a witness is necessary for the ends of Justice, and that the attendance of such witness  cannot  be  procured  without  an  amount  of  delay,  expense  or  inconvenience  which,  under  the circumstances of the case, would be unreasonable, such  2* * * Court may dispense with such attendance and  may  issue  a  commission  to  any  2*  *  *  Magistrate  of  the  First  Class,  within  the  local  limits  of whose jurisdiction such witness resides, to take the evidence of such witness. 3 *                      *                          *                                 *                                  *     1 The words “a Presidency Magistrate” omitted by A.O., 1949, Sch.  2 Omitted by ord. 37 of 2001, s. 68 (w.e.f.14­08­2001).  3 Sub­section (2) omitted by the Federal Laws (Revision and Declration) Ordinance, 1981 (27 of 1981), s.3 and Second Sch., which has previously been amended by various enactments.  Page 176 of 319

Select target paragraph3