Pa. Const. art. III, § 23
The power to change the venue in civil and criminal cases shall be vested in the courts, to be exercised in such manner as shall be provided by law.