(725 ILCS 5/122-6) (from Ch. 38, par. 122-6)
    (Text of Section before amendment by P.A. 101-652)
    Sec. 122-6. Disposition in trial court. The court may receive proof by affidavits, depositions, oral testimony, or other evidence. In its discretion the court may order the petitioner brought before the court for the hearing. If the court finds in favor of the petitioner, it shall enter an appropriate order with respect to the judgment or sentence in the former proceedings and such supplementary orders as to rearraignment, retrial, custody, bail or discharge as may be necessary and proper.
(Source: Laws 1963, p. 2836.)
 
    (Text of Section after amendment by P.A. 101-652)
    Sec. 122-6. Disposition in trial court. The court may receive proof by affidavits, depositions, oral testimony, or other evidence. In its discretion the court may order the petitioner brought before the court for the hearing. If the court finds in favor of the petitioner, it shall enter an appropriate order with respect to the judgment or sentence in the former proceedings and such supplementary orders as to rearraignment, retrial, custody, conditions of pretrial release or discharge as may be necessary and proper.
(Source: P.A. 101-652, eff. 1-1-23.)