This is an action brought to recover damages for injuries sustained by the plaintiff from the negligence of the defendant. As the plaintiff was driving a wagon along the avenue where the defendant’s track was laid, one of the wheels of the wagon slipped into an excavation made under the track, the plaintiff was thrown from his seat and received the injuries complained of, which were very serious. The excavation had been made by a property owner on the avenue, by permission from the city authorities, for the purpose of making a connection with the sewer. The defendant had entered into an agreement, in writing, by which it was bound to pave the streets in and about the rails in a permanent manner, and keep the same in repair. The defendant had laid timbers over the excavation, and the plaintiff’s testimony tended to show that the wheel of the wagon broke through or went through these timbers.
The judge at the Circuit, in his charge, submitted it to the jury to find whether the excavation was made in a part .of the street which the defendant undertook to keep in repair by the contract with the city, and if it was, and the defendant had failed or had been negligent in the performance of the duty imposed by that contract, and the injury to the defendant resulted therefrom, he had a remedy against the defendant.
He further charged that if the property owner, as he testified, *350notified the defendant of fiis intention to connect with the sewer and make the excavation, and the defendant assumed the duty of protecting the public against its consequences, and thereby released the property owner from the obligation which the law cast upon* him to protect the public against accident, and had been negligent in the performance of the duty so assumed, then a liability ensued. There seems to have been no claim that any negligence of the plaintiff contributed to the injury.
The defendant’s counsel moved to dismiss the complaint, and requested the court to charge that the defendant was not.liable upon the facts proved. Both were very properly denied, and there is no legal objection which can be raised to the charge as made.
The duty of keeping the streets in a city in repair is imposed primarily upon the municipal authorities, by reason of the power vested in them to control and repair them. The functions which are usually discharged by officers of the city or State may be performed by other persons than officers, and in such cases the contract made with the public authorities is deemed to inure to the benefit of all persons interested in its performance. The case of Robinson v. Chamberlain (34 N. Y., 389) was decided on this principle. In that case, the defendant was employed by the State to keep a portion of the canals in repair, and neglected to do so, and the plaintiff sustained damages by reason of such negligence. The court held the defendant liable for the injury, and enunciated the doctrine that a contractor who engages to perform the duties of a public officer is liable to the same extent as an officer upon whom the law imposes this duty.
The City of Brooklyn v. The Brooklyn City Railroad Company (47 N. Y., 475) was a case where' the defendant had made a contract with the city to keep the pavement in repair within the tracks, and three feet on each side of them, and from failure to do so the city had been made liable to a person for injuries sustained by reason of such negligence, and then brought that action to recover the damages so sustained. The coux’t held the defendant liable, and laid down the principle, substantially, that where one contracts with a municipal corporation to keep any portion of the stx*eets in repair’, he, in effect, contracts to pex’fox’nx that duty to the public in the place and stead of the municipality.
*351This principle is certainly broad enough to include this case, and, as we think no error was committed on the trial, the judgment must be affirmed, with costs.
Barnard, B. J., concurred; Gilbert, J., not sitting.Judgment and order denying new trial affirmed, with costs.