It is for the jury to say whether a guard rail, which is not a necessary part of a street railway, or which is improperly or insufficiently laid, or which has been loosened from its original position and fastenings, is a defect within the meaning of the statute which imposes upon towns the duty of keeping its highways in repair. If found by them to be a defect which has existed for twenty-four hours, or of which the town has been duly notified, then the town .is primarily liable for all injuries of which if is the sole cause.
This liability is imposed when, in the words of the statute, " other provision is not made therefor.” Gen. Sts. c. 44, §§ 1, 22. It is contended that such provision is made in the Street Railway Act, requiring such corporations to keep in repair such portions of the street as are occupied by its tracks. St. 1871, e. 381, § 21. But it has been said by this court, in construing similar provisions in earlier laws concerning street railways, that a city is not thereby released from its obligation to repair, and that all the provisions of the statute imply that the city is primarily liable. Lowell v. Proprietors of Locks & Canals, 104 Mass. 18, 23. Proprietors of Locks & Canals v. Lowell Horse Railroad, 109 Mass. 221. The St. of 1871, c. 381, § 21, requires the corporation to repair the streets to the satisfaction of the proper officer of the city or town having charge of the streets and highways. Section 22 makes the corporation liable over to the city or town for any defect or want of repair in any part of the street occupied by its tracks for which a recovery has been had against the town or city. Section 26 gives to the city and town authorities the power to order a discontinuance of the use of the tracks whenever public safety and convenience require. At most, the act only gives to these corporations the right to use the highway in common with all other public travel, and implies, in its various provisions, that although the duty to repair is ultimately placed upon the corporation, yet it is subordinate to the original duty of the city or town to the public. A duty which the statute does not remove or change, except as it may be modified by the existence of a railway track legally authorized, properly constructed and properly maintained. The clause relied on by the defendant is a provision in*423tended to regulate the relations between the corporation and the city or town, by imposing upon the former the burden of certain partial repairs of the highway. The general control still remains with the latter, and with it the liability which has always existed for injuries occasioned by want of repair. In Davis v. Leominster, 1 Allen, 182, which was an action to recover for a defect in a highway where it was crossed by a steam road at grade, it was said, after much consideration, that “ the general liability of a town to keep the way safe and convenient cannot be limited by implication, except to the extent to which the construction and operation of the railroad deprives the town of the power to discharge the duty imposed upon it by law.” And the fact that an action may be brought directly against the railroad corporation, when the defect is attributable to its misconduct or negligence, does not affect the right to go against the town. Gillett v. Western Railroad, 8 Allen, 560. Johnson v. Salem Turnpike, 109 Mass. 522.
The defendant further insists that this action should have been brought against the railway company, and not against the town, because by the St. of 1871, § 21, the former is made expressly liable for any neglect or misconduct in the construction, management, and use of its tracks; and the case at bar falls within this description. The answer is, that it is enough to support this action, as we have seen, if the misconduct or negligence of the corporation in constructing or maintaining its track has created a defect in the highway. If the plaintiff has suffered from an accident occasioned by an authorized public work constructed and kept in repair with reasonable care and skill, then he may indeed be wholly without remedy. Jones v. Waltham, 4 Cush. 299. This case shows that there was conflicting evidence upon these points with reference to the guard rail complained of. And the jury, under proper instructions, might have found it to have been a defect for which the town is liable, or might have found otherwise. Qase to stand for trial.*