Opinion by
Porter, J.,This is an action to recover the penalties imposed by a borough ordinance for digging four trenches in macadamized streets of the borough of Potts ville, by the defendant company, for the purpose of laying gas pipes, without having obtained permits so to do as by the ordinance required. The ordinance requires that any person or corporation shall before making any excavation in any macadamized public street make written application to the commissioner of highways, setting forth the place where and the object for which the excavation is to be made, and pay a fee of $3.00 to the officer, who is thereupon required to issue a permit to make the excavation. There was at the trial in the court below no dispute as to the fact that the defendant had made the excavations without taking out the permits, as charged, and the only ground of defense alleged was that the ordinance was invalid.
The right and duty of a municipality, in the exercise of the police power, to regulate, inspect and supervise the various appliances which individuals and corporations may acquire the right to introduce and maintain, upon and under the surface of the public highways, and to impose a reasonable charge to reimburse it for the probable expense of such inspection and supervision, must be accepted as settled. The only question for the court to determine is whether a particular ordinance is a reasonable exercise of such power: New Hope Borough v. Western Union Telegraph Co., 16 Pa. Superior Ct. 306; New Hope Borough v. Postal Telegraph Co., 16 Pa. Superior Ct. 310; s. c., 202 Pa. 532; Taylor Borough v. Postal Telegraph Co., 16 Pa. Superior Ct. 344; s. c., 202 Pa. 583; Lower Merion Township v. Postal'Telegraph Cable Co., 25 Pa. Superior Ct.‘ *485306; Norwood Borough v. Western Union Telegraph Co., 25 Pa. Superior Ct. 406; Braddock Borough v. Allegheny County Telephone Co., 25 Pa. Superior Ct. 544; Kittanning Borough v. Western Union Telegraph Co., 26 Pa. Superior Ct. 346; Kittanning Borough v. Natural Gas Co., 26 Pa. Superior Ct. 355; Edgewood Borough v. Scott, 29 Pa. Superior Ct. 156; Fort Pitt Gas Co. v. Sewickley Borough, 198 Pa. 201. The most difficult question in these cases' is as to the amount of the charge. “Necessarily any rule that may be adopted must leave some latitude for the exercise of the discretion of the borough officers. Unless this has been exceeded; unless the court is able to say from the facts of which it may take judicial cognizance, or from the undisputed or admitted facts, or if there be a conflict of evidence, then from the duly ascertained facts, that the ordinance is a revenue measure in the guise of a police regulation, or that the license fee is grossly in excess of what was necessary to cover the reasonably to be anticipated expense of proper police supervision, it is not justified in interfering. Even if it be conceded that where there is a conflict of evidence, the controverted facts are to be determined by the jury, still, the burden of proof being on the defendant, the court cannot be convicted of error in giving binding instructions in favor of tire 'borough where the defendant has not furnished evidence from which the jury could find facts which would justify the court in declaring the ordinance unreasonable. . . . By the law of this commonwealth, the tribunal having jurisdiction to decide whether or not, under an agreed or duly ascertained state of facts, there being no conflict of evidence as to essential facts, air ordinance is unreasonable, is the court: ” Kittanning Borough v. Natural Gas Co., 26 Pa. Superior Ct. 355.
The ordinance with which we are now dealing was not an annual charge for the inspection of the lines of the defendant, but a specific one to meet the entire expense of the duty of regulation, inspection and supervision cast upon the municipality by the making of the excavation in the macadamized street. The duty of the municipality with regard to such an excavation does not end with the issuing of the permit, nor with the filling of the excavation until it is level with the street, but continues so long as the settling of the material used *486in filling the trench and other causes directly resulting from the making of the excavation develop defects in the paving or macadamizing and make supervision necessary. It follows that, in determining the reasonableness of the charge, not only the direct expense of issuing and making a record of the permit and overlooking the filling and resurfacing of the trench, but also the indirect expense of maintaining the organization required to perform the subsequent duty of inspection and supervision, may properly be considered. The learned judge of the court below would not have been warranted, in the absence of evidence establishing an abuse of discretion upon the part of the borough authorities, in holding the charge imposed bj7 this ordinance unreasonable, as matter of law, for similar charges, as high or higher, have for the same service been held reasonable: Springfield Water Co. v. Boro, of Darby, 199 Pa. 400; Lansdowne Borough v. Springfield Water Co., 16 Pa. Superior Ct. 490. The presumption is in favor of the validity of the ordinance, and the burden is upon the defendant to prove facts which establish that the borough authorities have abused their discretion: Western Union Telegraph Co. v. New Hope Borough, 187 U. S. 419; Atlantic & Pacific Telegraph Co. v. Philadelphia, 190 U. S. 160; Postal Telegraph Co. v. Taylor Borough, 192 U. S. 64.
The plaintiff borough, at the trial in the court below, upon its case in chief offered evidence as to what was done by the municipal authorities with regard to the ditches dug in the streets by this company and other parties. This evidence established that the borough discharged the duty of inspection and supervision of the streets in question. The borough went further, however, and produced evidence which would have justified a finding that when ditches were dug in the macadamized street, particularly by this company, the filling always sank and it was necessary for the borough authorities to fill up the trenches and repair the macadamizing, using a heavy roller for that purpose, and that this involved an expenditure for that purpose alone of more than twice the amount of the fee charged by this ordinance for the permit to make the excavation. This evidence may have been admissible under the issue for the purpose of showing the necessity for the inspection and supervision of such excavations, but whether the expenses in*487volved in making such repairs were proper to be considered in determining the charge imposed by the ordinance was at least doubtful. The evidence was admitted, however, without objection. The court below submitted the reasonableness of the ordinance to the jury, and in doing so used the following language : “We are of opinion that the borough would have a right to calculate the general charge, the general cost of what these repairs would be, estimate that and charge in the permit, and we, therefore, say to you that if you believe the evidence of the plaintiff, that the work to repair these openings cost more than twice as much as what the permits call for in this ordinance, then we say to you that that is a reasonable charge, and your verdict should be for the plaintiff.” The submission of the question to the jury in this manner is the. subject of the first, second and third specifications of error.
The charter of the defendant company, Act of February 25, 1850, printed in the pamphlet laws of 1851, page 774, provides, “ That said company shall be required without unnecessary delay to refill, repair and place in safe condition all openings made in the streets, lanes and highways of said borough.” The charter thus expressly imposed the duty to repair the streets, and it is not necessary t;o inquire whether in the absence of such a provision there would be a legal obligation on the defendant company to repair the pavements which it destroyed. The law to which this company owed its existence required it to repair the streets, and the duty thus imposed involved the obligation not merely to refill and resurface the trenches, but to repair such defects as subsequently developed because of the manner in which the trenches were refilled and resurfaced. That the borough might have enacted an ordinance requiring the company to repair the defects in the pavement resulting from the making of the excavations, and within a reasonable period thereafter, cannot be questioned: Springfield Water Company v. Boro of Darby, 199 Pa. 400; Edgewood Borough v. Scott, 29 Pa. Superior Ct. 156. The laying of a pavement may require skill and experience and it is within the police power of a municipality to ordain a regulation that the paving made over excavations in the public streets shall, in order to preserve uniformity, be done by the municipal authorities, and that the party who makes the excavation shall be required in ad*488vanee to deposit an amount sufficient to cover the cost of repaving : Appeal of the City of Pittsburg, 115 Pa. 4. The ordinance with which we are now dealing made no attempt to do anything of this kind; it left the liability of this defendant and all other parties, who made excavations in the streets, just where it found them. The duty of this defendant to repair the streets and its liability to the borough for a failure to perform that duty, which may result in expense to the latter, is in no manner affected by the ordinance. The fact that the defendant had paid fees for permits to open the street, under the provisions of this ordinance, would not relieve it from liability to reimburse the borough for any expense to which the latter might be put in repairing the pavements which the defendant .had failed to properly restore. The payment of the judgment entered in this case would not be a defense to an action brought by the borough to recover for the expense of repairs to the pavement which the defendant company ought to have made. The charge imposed by this ordinance for the permit was a police charge, pure and simple, and it must be sustained only upon the ground of the expense to which the borough may probably be put in the discharge of its duty to inspect, regulate and supervise the street, as aifected by the excavation, so long as such inspection and supervision may be necessary. If the amount of that expenditure were capable of definite proof, that would be the limit of the charge, but as that .is not the case, the borough authorities are vested with a reasonable discretion to determine the amount necessary for the purpose to which alone the fund is applicable. The provisions of this ordinance did not warrant the learned judge of the court below in directing the jury to take into consideration the cost of repairing the pavement in determining the reasonableness of the charge imposed by the ordinance. The first, second and third specifications of error are sustained.
The fourth specification is without merit, and the refusal of the point upon which it was based was proper. The point limited the elements of the duty of the borough which the jury were to consider to the mere issuing of the permit and refilling of the excavations. This entirely overlooked the fact that it was reasonable and proper for the borough to provide for a record of all these permits and that the duty of inspection and *489supervision did not end as soon as the trenches were filled and covered.
We have already said that ordinances of a character like to that with which we are now dealing and imposing similar or higher charges have been held to be valid, and the learned judge of the court below would not have been warranted, in the absence of evidence, in declaring this ordinance unreasonable. The evidence submitted by the borough in this case was such that a jury might fairly have been permitted to infer that the borough had provided an organization for the issuing of the permits to open streets and the preservation of a record thereof, and that it maintained officers whose duty it was to inspect the streets, as affected by the excavations made therein, and that those officers discharged their duty. The court below would, therefore, not have been justified in giving binding instructions in favor of the defendant. The fifth assignment of error is dismissed.
The evidence produced by the defendant as to what it actually cost the company to have the ditches refilled and the streets repaired, was wholly insufficient, standing alone, to furnish any basis for estimating the reasonableness of the charge of the borough for the proper, skillful and continuous inspection and supervision which it was the municipal duty to maintain. The less the company spent in refilling its ditches and repaving the street over them, the greater was the necessity for municipal supervision, which the ditches opened by this company never obtained, for it refused to take out the permits. The defendant company offered no evidence whatever as to any inspection of a ditch made by the defendant or its employees, after that ditch had once been filled up. The defendant called but one witness, and his testimony clearly sho¡wed that the company did not inspect their ditches after they were once covered and that, on the contrary, they waited until some person came to them with a complaint. This witness distinctly admitted that he knew that the borough authorities were compelled time and time again to go back and refill the ditches which had been left by this defendant company in an improper condition. That the cost of a proper inspection and supervision cannot be measured by the expenditure of this company, which failed to provide for any inspection or supervision, is *490very clear : Kittanning Borough v. Western Union Telegraph Company, 26 Pa. Superior Ct. 346. The sixth specification of error is dismissed.
The judgment is reversed and a venire facias de novo awarded.