
    380 A.2d 461
    COMMONWEALTH of Pennsylvania, Appellant, v. William DORSEY.
    Superior Court of Pennsylvania.
    Submitted March 21, 1977.
    Decided Dec. 2, 1977.
    
      Richard J. Orloski, Assistant District Attorney, Allentown, for Commonwealth, appellant.
    Paul A. McGinley, Allentown, for appellee.
    Before WATKINS, President Judge, and JACOBS, HOFFMAN, CERCONE, PRICE, VAN der VOORT and SPAETH, JJ.
   VAN der VOORT, Judge:

On March 12, 1976, complaints were filed by an officer of the Allentown Police Department charging the defendant with aggravated assault, recklessly endangering another person, theft and receiving stolen property. On that same date the defendant was arrested and the preliminary hearing was scheduled for March 19, 1976. However, the case was continued because the defendant was without counsel and a public defender had to be appointed. A prima facie case was made out against the defendant on the charges of aggravated assault and recklessly endangering another person and the transcript was returned to court on or about April 12,1976. The two other charges were dismissed at the preliminary hearing. The case was initially listed for trial during the July Term of Criminal Court, but was never called to trial by the Court Administrator. The Commonwealth filed a petition for an extension of time in which to bring the defendant to trial as provided for in Pa.R.Crim.P. 1100(c) on August 20,1976. The defendant filed an answer to the Commonwealth’s petition and included as new matter a request that the charges against him be dismissed with prejudice and that he be discharged because the Commonwealth failed to bring him to trial within the required 180 days. On September 9, 1976, a hearing was held on the Commonwealth’s petition wherein the Commonwealth was prepared to present evidence supporting its position that it had been duly diligent in attempting to bring the defendant to trial within 180 days yet was unable to do so. However, the court stated that even if the Commonwealth was able to show that the delay was attributable to a congested court calendar and the unavailability of a courtroom, this would not be sufficient to justify the granting of the motion to extend the time period because Commonwealth v. Sprankle, 241 Pa.Super. 298, 361 A.2d 385 (1976) held that judicial delay was not grounds for granting an extension. As a result of the court’s decision the Commonwealth’s motion was denied and the defendant’s charges were dismissed and he was discharged. From that order of court, the Commonwealth appealed.

The only issue raised on appeal is whether the lower court erred when it denied the Commonwealth’s motion for an extension of time under Rule 1100(c) without first allowing the Commonwealth to present evidence. The hearing was held on September 9, 1976, and Commonwealth v. Sprankle, supra, had been decided on June 28, 1976. On October 8, 1976, the Pennsylvania Supreme Court decided the cases of Commonwealth v. Shelton, 469 Pa. 8, 364 A.2d 694 (1976) and Commonwealth v. Mayfield, 469 Pa. 214, 364 A.2d 1345 (1976). In Shelton and Mayfield the court held that judicial delay was justification for granting an extension of time in which to try the defendant if the petition by the Commonwealth was timely filed and due diligence shown by the Commonwealth. We therefore reverse the order of the lower court and remand the case for a hearing on the petition of the Commonwealth. If the Commonwealth is able to establish that despite its due diligence the defendant was not able to be brought to trial, then the lower court should set a time for trial as soon as possible. However, if after a full hearing the lower court determines that an extension of time is not warranted then the order of the lower court dismissing the charges and discharging the defendant shall be reinstated.

Reversed and remanded. 
      
      . Act of Dec. 6, 1972, P.L. 1482, No. 334, 18 Pa.C.S. § 2702.
     
      
      . Act of Dec. 6, 1972, P.L. 1482, No. 334, 18 Pa.C.S. § 2705.
     
      
      . (c) At any time prior to the expiration of the period for commencement of trial, the attorney for the Commonwealth may apply to the court for an order extending the time for commencement of trial. A copy of such application shall be served upon the defendant through his attorney, if any, and the defendant shall also have the right to be heard thereon. Such application shall be granted only if trial cannot be commenced within the prescribed period despite due diligence by the Commonwealth. Any order granting such application shall specify the date or period within which trial shall be commenced.
     
      
      . Pa.R.Crim.P. 1100(f) states:
      (f) At any time before trial, the defendant or his attorney may apply to the court for an order dismissing the charges with prejudice on the ground that this Rule has been violated. A copy of such application shall be served upon the attorney for the Commonwealth, who shall also have the right to be heard thereon. Any order granting such application shall dismiss the charges with prejudice and discharge the defendant.
     
      
      . Pa.R.Crim.P. 1100(a)(2) states:
      (2) Trial in a court case in which a written complaint is filed against the defendant after June 30, 1974 shall commence no later-than one hundred eighty (180) days from the date on which the complaint is filed.
     