All costs and expenses shall be paid out of the county treasury in the county wherein the crime is alleged to have been committed: Provided, however, That all costs and expenses incurred by a county in extraditing a person who, upon release from a Federal prison, is apprehended on a writ of detainer issued by a state other than Pennsylvania, shall be reimbursed by the Department of Justice. Reimbursable costs and expenses incurred in any extradition proceeding shall include, but not be limited to, apprehending, securing, transmitting and maintaining the prisoner, as well as food, court fees and counsel fees. Any person released from a federal prison for whom extradition proceedings have been initiated and who is apprehended on a writ of detainer issued by a state other than Pennsylvania, shall be transferred to the Bureau of Correction as soon as possible until such extradition occurs or until he is released by the court. The Commissioner of Correction shall accept such transfer. The Bureau of Correction shall make every effort to be reimbursed for all costs and expenses from the state which is seeking extradition.
42 Pa.C.S. § 9144.1