The county commissioners may purchase, for the use of the office of the district attorney, out of the funds of the county, such law books and other legal research resources as may be selected by the district attorney and, in counties of the third through eighth classes, as approved by the president judge of the court.
16 P.S. § 1407