A demurrer to the complaint was filed in this case; that demurrer was overruled, and in accordance with our practice the damages were assessed by the court.
In this jurisdiction the effect of a demurrer to the complaint in cases of this character is to admit, for the purposes of the hearing in damages, the truth of every material and well-pleaded statement of fact in the complaint. Such admission is conclusive so far as the right of action, and the consequent right to nominal damages is concerned, and is prima facie as related to substantial damages. The defendant has the legal right to prove the non-existence of the alleged fact as bearing upon substantial damages. The burden of proof in this particular is upon the defendant, and if he fails to prove the non-existence of the alleged fact, such fact is regarded as established in all its effects upon, and relation to, actual damages.
The recent case of Crane v. Pastern Transportation Line, 48 Conn., 363, and again before this court in 50 Conn., 342, seems to settle the practice in this state.
In the first paragraph of the complaint it is alleged that the defendant kept, maintained, and permitted to remain on *194his premises, substantially adjoining the public highway, and so near the public footway of said highway as to make the use of the same unsafe a,nd dangerous, a deep area or pit, without rail, cover or guard of any kind.
It was not pretended in the argument that the area was not dangerous in itself, and its dangerous character is apparent from the finding. But it is said that the defendant owed no duty to this plaintiff not to maintain this dangerous pit. It is upon this theory alone that the judgment of the court below was pronounced, and by this theory that judgment must be tested, and the case be disposed of here.
There is no finding of fact in this case to disprove the allegation of the complaint that this dangerous area or pit was “ so near the public footway of said highway as to make the use of the same unsafe and dangerous.” The case does state certain facts from which argumentatively or inferentially the -court might be led to find either that the pit was or was not so located in reference to the public way and travel thereon as to make the use of the highway unsafe or dangerous. But the court below made no finding of fact upon this point, thus leaving the legal inference arising from the demurrer to have its full effect upon this allegation in establishing its undeniable truth. This is necessarily so unless it can be said that the court, as matter of law, notwithstanding the admission involved in the demurrer, ought to say that the pit was not so located as to make the use of the highway dangerous. This position has not been taken, and we do not think it can be maintained. That question is peculiarly one of fact, dependent upon all the surrounding and characterising facts, and upon the whole evidence in the cause. The location of the excavation, its proximity to the public way, the character of the use of tliat public way in numbers, and the manner of its use, the probabilities that travelers would or would not be endangered there, and the like general considerations, are to be weighed by the trial court in every case, and in addition to these general considerations attaching to all cases, the particular and peculiar surroundings of each special case render the question peculiarly one *195of fact and not of law, as a general rule.- We think it is plain in this ease that the question here involved is a question of fact, and so beyond our jurisdiction to determine. While, therefore, no discussion of the fact will be made, it is perhaps proper to say that to a majority of the court it appears that the evidential facts found and stated by the trial court establish the fact as alleged in the complaint in this particular.
Under such circumstances no authority can be found warranting the treatment of such a question as a question of law to effect a result adverse to this conclusion.
This condition of facts, we feel impelled to say, created and imposed a duty upon the defendant to persons lawfully using the highway.
There is some diversity of opinion as to the test of duty and consequent liability in cases of this kind. It is said that in England and Massachusetts the test of liability is whether the excavation be substantially adjoining the public way, so that a traveler by a false step or misstep might be endangered; and the cases of Howland v. Vincent, 10 Met., 371, Hardcastle v. South Yorkshire Railway Co., 4 Hurl. & Nor., 67, and Hounsell v. Smyth, 7 Com. B., N. S., 729, are cited to this point.
Without stopping to inquire whether this is a correct statement of the rule in England, a different and much more satisfactory test and rule prevails in this state.
The Massachusetts case cited above certainly adopts that theory; but we do not think it is authoritative. The case is discredited as authority by our own court in City of Norwich v. Breed, 30 Conn., 547. Our court plainly implies that the ruling was wrong. It is denied in express terms in Beck v. Carter, 6 Hun, 604 ; and see the same case in the Court of Appeals, 68 N. York, 284. It is adversely criticised in Bigelow’s Cases on Torts, 686, 689, and is pronounced in Shearman & Redfield on Negligence, 505, “ a decision which it is difficult to justify.” A late Massachusetts case seems to ignore the rule as applied in Howland v. Vincent, and approximates the test to that of our court in City of Norwich v. *196Breed. Mistler v. O’ Grady, 132 Mass., 139. This last case substitutes for the test stated in Howland v. Vincent this language, that the defendant “had no reason to suppose” that any person would attempt to go where the danger was, and that the plaintiff was not “ misled by any act or word of the defendant;” a statement of "the rule which plainly imposes a duty on this defendant.
The rule laid down in City of Norwich v. Breed was stated after an examination of the Massachusetts case and English cases cited above, was declared upon full consideration, and places the liability upon true grounds, and has been cited in other jurisdictions with approval. An extract or two from that case will suffice. “We think that in making the defendant’s liability to depend upon the dangerous condition in which the excavation was left by the defendant rather than upon its distance from the street, the judge adopted the true criterion. It is the dangerous character rather than the exact location of the excavation' that determines the duty and consequent liability of the defendant in this respect. * * * Whether the excavation could, with a due regard to the rights of passengers on the street, be left unguarded, or could not, depended upon the question whether, being unguarded, it endangered the travel or not; if it did not, no matter how near it was to the line of way; if it did, no matter how far it was removed.”
It is plain that there was a duty upon the defendant in reference to the public use of that public way. The next inquiry is, whether that duty attached to the defendant in reference to this plaintiff. The defendant claimed and the court ruled that the plaintiff was a trespasser upon the defendant’s property, and was not in the exercise of any rights as a traveler upon the highway.
The material facts bearing upon this part of the case are, that a building used by the defendant as a corset manufactory stood on his premises, extending along the entire street line of eighty-eight feet, and set back ten feet from the line of the public way. The entrance to this building was in front, and consisted of an inclosed wooden porch *197with a door in the front. The door of the porch was five feet and from six to nine inches from the street line. The area was located alongside the building, and adjoins the porch, and is ten feet and nine inches long, two feet and nine inches wide, and five feet and four inches deep. A brick paved public sidewalk was laid along the front of the factory, and three or four years ago the open space between the sidewalk and the building was paved with brick on the same grade as that of the brick sidewalk, thus forming an unbroken and continuous brick sidewalk covering the entire space between the roadway of the street and the defendant’s building. There was nothing to mark the exact line of separation between the sidewalk and the defendant’s lot. Thus the defendant was maintaining an extension and continuance of the public sidewalk along the entire front of his building up to the line of his building, in the midst of a large city, where the familiar condition of affairs is that the public pavements extend to the line of building. This extension of the public sidewalk was of the same material and constructed in the same manner as the public sidewalk. It was on the same grade, nothing to indicate the place where the public walk ended, and apparently to the eye causing the public walk to extend to the factory.
On the night in question the plaintiff was told that her child was in the defendant’s factory. She lived in Collis street, and only a few feet from Franklin. Collis street is a street leading into Franklin street, nearly opposite the south end of the factory. On the evening of the 17th of November, about eight o’clock, going for her child “she went along the Collis street sidewalk to the corner of Franklin street, and then she took a direct line towards and to the wooden porch of the factory, crossing Franklin street diagonally. In trying to find the door she fell into the area. She was unfamiliar with the premises, and did not know of the existence of the area, and is found not to have been negligent in fact in not avoiding the area. The front fence lines of the property owners at either end of *198the defendant’s shop indicated, in a general way, the line of the public way.
And now it is said that the plaintiff was a trespasser in thus going upon this part of the brick pavement placed upon the defendant’s property. We think the defendant’s point is not well taken. The entire space up to the factory was apparently a public sidewalk; it does not appear that she knew anything to the contrary. She had a right to use the whole of the apparent public way to reach the defendant’s shop. Her errand there was lawful. She had a right to go there, and it will not answer for the defendant to say to the plaintiff, “ True it is that by my act there was an apparent, visible, manifest public walk which extended to my shop, but you, a stranger, must be held to know where the divisional line is, although I have so built and maintained the sidewalk that you are naturally misled thereby.”
There is no principle of law or justice which will warrant a court in holding a person to be a trespasser who uses as a public way an apparent public sidewalk kept so by the act of the defendant, simply because he steps over the technical legal boundary line. By the construction of the walk the plaintiff, as one of the public, was told in a most emphatic way that the sidewalk extended to its full apparent width. The occasion was in the night season ; the plaintiff was not familiar with the premises; it is not found that she knew or could have seen the fence lines at either end of the defendant’s property. The defendant’s acts would indicate, even if a person knew where the technical line of the street was, that the defendant had thrown open to the public and made part of the public domain that part of his property covered by this extended sidewalk; and much more so as to a person who did not know where the line was.
The streets of our cities, especially in the mercantile and manufacturing districts, are full of instances where the buildings are set on the street line, or at varying distances therefrom, with similar continued and extended pavements. To impose upon persons lawfully using our sidewalks the duty of ascertaining at their peril where the technical *199divisional line lies before venturing to use the sidewalk as it openly and visibly exists, is, in our judgment, not warranted by any authority; and to permit owners and occupiers of such property to construct and maintain unguarded pits and areas in those parts of their premises that are not distinguishable from the public way, will fatally jeopardize public travel.
In Corby v. Hill, 4 Com. Bench, N. S., 562, Cockburn, C. J., said:—“ The proprietors of the soil held out an allurement whereby the plaintiff was induced to come upon the place in question; they held out this road to all persons having occasion to proceed to the asylum as the means of access thereto. * * * Having, so to speak, dedicated the way to such of the general public as might have occasion to use it for that purpose, and having held it out as a safe and convenient mode of access to the establishment, without any reservation, it was not competent to them to place thereon any obstruction calculated to render the road unsafe.”
In Beck v. Carter, 6 Hun, 607, it is said:—“ Even if the road had been proved to have been laid out two rods wide, and a few feet belonging to the plaintiff lay between the road and the fence, as it has always been left in common with the road and thereby apparently devoted to the public use, any person would be justified in using it in that way. The fair inference to be drawn from its situation, thus acquiesced in by the owner, is that it has been abandoned to the public. * * * If a house or store is built a few feet from the margin of the street or highway, and no fence is erected along or near the margin, .persons are at liberty to assume that the building is on the margin of the street, and that they may lawfully travel over the whole space thus apparently set apart for public use by the owners of the land. * * * To authorize an owner of land adjoining a highway to require travelers lawfully passing along it to keep within the limits of it, as laid out or dedicated, he must indicate in some proper way where the boundaries are, and when that is done he is relieved from liability for *200injuries sustained outside such limits. To hold a traveler, a stranger' to the locality, bound to keep within the limits of a lane or alley, in the night as well as in the day, and that the owner of adjoining land may dig pits in his land five or six or seven feet from one of the margins of the street, and if the traveler falls into it and is injured he is without remedy against the owner of the land on which such pit is dug, is so monstrous, so unjust, and so unreasonable, that it’needs but to be stated to be repudiated.”
But the case at bar is far stronger than the New York case, touching which this language is held. Here the owner and occupier of property had so' constructed and built the extension of the sidewalk as to induce and allure' people to use it as,'and to suppose it to be, a part of the public way. As to persons lawfully using it he thus constituted it an inseparable part and parcel of the public way. Persons using it within the scope of the purpose so plainly indicated by the owner are not trespassers, and - are protected by the law from dangerous excavations, pits and traps.
In the Court of Appeals Beck v. Carter is thus treated: —“ It was not the case of a bare permission by the owner to cross his land adjoining a public street. The land had, by use long continued, been made, for the time being, a public place and part of the highway. * * * The boifndary of the alley was not defined, and persons crossing the lot in the usual way were not trespassers.” 68 N. York, 293.
The case in hand presents not only the public use spoken of by the Court of Appeals, but superadded to that, as a characteristic thing, the personal acts of the defendant in so constructing and using his property as to make it a part of the highway. “ There may possibly be,” says the court, in Binks v. South Yorkshire Railway Co., 3 Best & Smith, 253, “cases where the owner of land adjoining a way may by his acts induce the public to go near to an excavation in his land so as to get into danger; in which ease it would be the same thing whether the way were a highway or not.”
*201It is stated as a fact in the first count of the complaint that the plaintiff was passing along said public foot-way of said highway, &c., and fell in, &c. The demurrer, as before suggested, in the first instance admits this, and this fact stands, except as modified by the other facts found.
The bare fact that she passed without knowledge on her part, (for this want of knowledge, if material, is admitted because not disproven,) beyond the technical line of the street, is by no means the determining fact in relation to the question whether she was in the exercise of a traveler’s right. A traveler’s right is not confined to simply passing along the street. He may use the public way for any of the whole range of ordinary acts incident to ordinary travel, not the least of which is the right of approach and entry to an adjoining building for a lawful purpose. And for all these purposes the highway is to be regarded as it apparently exists, as against the defendant who has actually enlarged the width of the highway.
So far this case has been treated upon the theory and facts set forth in the first count of the plaintiff’s complaint. That count confessedly proceeds upon the assumption that the plaintiff was in the exercise of a traveler’s rights upon a public highway. The plaintiff, fearing that she might be met with the objection that the plaintiff had passed beyond the theoretical line of demarcation, and therefore was not technically a traveler, by amendment inserted a second count, in which the physical facts surrounding the area are stated precisely as they are proved and hereinbefore recited; and in addition thereto particularly alleged that the plaintiff “ was passing along said public way, and from the said public way passed over and upon the said brick pavement of the defendant.”
It is now claimed that the second count is identical with the first, notwithstanding the first count alleges that she was a traveler, and the second count states every fact which is relied upon by the defendant to establish his vital proposition that she was not a traveler. The second count also is framed in strict accord with the letter and spirit of the *202Practice Act. It “ contains a statement of the facts constituting the cause of action;” and if those statements are substantially established the right of recovery follows; and this is the result without reference to the plaintiff’s status as a traveler; for the.substance of that count is that she, the plaintiff, was induced by the acts of the defendant to pass from the public way to and upon the defendant’s premises.
We understand the law to be so that, if a person is induced or allured upon another’s premises, the owner or occupier of such premises owes a duty to such person to see that his premises are in a reasonably safe condition, and that this duty attaches to the defendant in reference to the personality of the allured individual. Upon these facts the right of action is complete even-if' the plaintiff .was not a traveler. It is therefore immaterial to inquire whether the plaintiff called herself a traveler. Even if she had said in the complaint in express terms that she considered herself a traveler and entitled to protection in that character, but the court should be of opinion that she was not at the time of the injury technically a traveler, but that she was upon the facts alleged and proved entitled to protection as an individual, there can be on that ground no objection tó a recovery. The plaintiff was not bound to state in the complaint the legal theory of her case ; nor is the legal theory in any ease material, except, possibly, where the form of action is material to the rights of the parties.
The Court of Appeals in Hemmingway v. Boucker, 98 N. York, 287, states the rule in this language —“ The party was under no obligation to state in his pleading the theory of the law upon which his claim is based.”
' And we also think that this second count is properly framed to obviate the objection rhat the plaintiff was not a traveler. The first count alleges that she was a traveler, and we think the second count is not a meaningless repetition of the first count. That it accomplishes its evident design is clear, and forces us to examine the case as presenting the question (assuming the plaintiff not to have *203been a traveler,) whether the plaintiff was or was not induced or allured to enter upon the defendant’s property. In this view of the case, as we have already stated, the character of a traveler is not essential to the plaintiff’s right of recovery.
If the plaintiff was induced by the defendant to come, or allured, upon the defendant’s land, it is not necessary for the plaintiff to claim that a highway existed, either actual or imputed, as against this defendant. But if the defendant had dedicated to the public a right of passage, or had so constructed his sidewalk as to induce people to believe that the public right of way existed, and therefore as to a person so supposing and acting thereon that public right should be held to exist, this condition would have a very material bearing upon the question of allurement or inducement. For if there was an apparent public way a person, though not strictly a traveler, has a right to proceed upon the assumption that guards against dangers are provided co-extensive with the apparent purpose and use of the way.
Reverting now to our original proposition, that the effect of the demurrer to this complaint is to admit the truth of every material well-pleaded fact as stated, except so far as such statement of fact may be modified or controlled by the facts found upon the hearing, we find, by reference to the second paragraph of the second count, a statement of fact that the defendant “ kept and maintained on his own land, between the public footway or pavement on said Franklin street and said pit or area, a brick pavement or footway, in all respects like the public pavement or footway, separated in no manner therefrom, and invited, licensed and permitted the public to make use of the same in the same manner and to the same extent that they made use of the public way, from which it was in no manner to be distinguished by the eye.”
This statement of fact certainly is not denied by any direct statement in the finding, but, on the other hand, it is in substance and effect confirmed and established by the *204finding; for it is found that the public sidewalk had been widened and continued up to the defendant’s building, and so kept and maintained by him, and that there was nothing ■to mark the exact line of separation. That the sidewalk on the defendant’s premises was paved with brick in the same manner as the public footway, and was on the same grade, is also found. Thus the finding in substance accords ■with the allegation in this particular.
But it is said that the front fence lines of the adjoining owners would indicate to the ordinary traveler the general line and course of the sidewalk. Assuming this, and assuming also that such indications would exist in the night season when the front fence lines might not be seen, or, if seen, would probably not be effective, yet that fact does not help the defendant as to the controlling fact that he had so built, kept and maintained his sidewalk as to induce people to go beyond the line of the adjoining front fences. Besides, the accident happened in the night season, and there is no fact in the case to lead to the belief that the plaintiff was cognizant of the line of those front fences or knew of their existence even.
In the leading case of Sweeney v. Old Colony R. R. Co., 10 Allen, 378, Bigelow, C. J., giving the opinion says :— “The general rule or principle applicable to this class of cases is that an owner or occupant is bound to keep his premises in a safe and suitable condition for those who come upon and pass over them, using due care, if he has held out any invitation, allurement or inducement, either express or implied, by which they have been led to enter thereon. A mere naked license or permission to enter or pass over an estate will not create a duty or impose an obligation on the part of the owner or person in possession to provide against the danger of accident. The gist of the liability consists in the fact that the person injured did not act merely for his own convenience and pleasure, and from motives to which no act or sign of the owner or occupant contributed, but that he entered the premises because he was led to believe that they were intended to be used by *205visitors or passengers, and that such use was not only acquiesced in by the owner or person in possession and control of the premises, but that it was in accordance with the intention and design with which the way or place was adapted and prepared or allowed to be so used. The true distinction is this:—A mere passive acquiescence by an owner or occupier in a certain use of his land by others involves no liability; but if he directly or by implication induces persons to enter or pass over his premises, he thereby assumes an obligation that they are in a safe condition, suitable for such use, and for a breach of this obligation he is liable in damages to a person injured thereby.”
The plaintiff alleges that it was by reason of the existence of the pavement on the defendant’s land, constructed as it was, that she.passed beyond the limits of the highway. Instead of contradicting this allegation the facts found support and confirm it. How could it be more certainly indicated that this part of the defendant’s land was “intended to be used by visitors or passengers,” and that it was “ adapted and prepared for such use,” than by extending and continuing a public sidewalk over it ? He built and maintained this walk so that every person whose interest or inclination led him so to do, would naturally enter upon it supposing it was intended for public use, and therefore properly guarded. See Mellen v. Morrill, 126 Mass., 546, and Mistler v. O'Grady, 132 id. 139, 141.
“ The question is, did a reasonable regard for the safety of those whom the use to which the defendants had devoted their wharf might be expected to bring there, require something in the way of safeguards at this gangway?” Low v. Grand Trunk Railway Co., 72 Maine, 319.
In Hydraulic Works Co. v. Orr, 83 Penn. St., 335, that court, by Agnew, C. J., upheld a verdict for damages at the suit of a trespasser, upon the theory that the occupier of premises “ has reason to apprehend danger owing to the peculiar situation of his property and its openness to accident,” and “ that this spot was not so private and secluded as that a man might keep dangerous pits or deadfalls there without a breach of duty to society.”
*206The turn-table case of Railroad Co. v. Stout, 17 Wall., 657, and that of Birge v. Gardiner, 19 Conn., 507, proceed upon the same general theory. See also Haughey v. Hart, 62 Iowa, 98; Young v. Harvey, 16 Ind., 314.
Shearman & Redfield on Negligence, page 599, say:— “ Of course it is culpable negligence to leave a pit or other excavation in such an unguarded state as to cause injury to a person having a right to be upon the land and using that right with ordinary care.” Tested by this statement of the law the plaintiff’s right must be conceded. Under any view of this case she was lawfully on the land, and in the exercise of ordinary care.
So in Addison on Torts it is said, page 163, 3d ed.:— “But if a person, being upon the premises of another on lawful business, without any fault or negligence of his own, falls through a hole on such premises, the occupier will be responsible.” Again, on page 164 :—“Every occupier of a house who makes or permits the continuance or use of a pathwaj1’ to the house may fairly be deemed to hold out an invitation to all persons, who have any reasonable ground for coming to the house, to pass along his pathway.” Wharton on Negligence, § 824a, lays down this proposition : —“ At the same time it must be kept in mind that he is bound to keep his premises in such order that visitors whom he invites, when acting prudentty, will not be injured; and if dangerous places exist by which they, exercising such prudence, might be hurt, his duty is to give notice of the danger. * * * And if he is aware that persons are in the habit of passing over his grounds, trespassers though they may be, he is liable if he leaves in their way dangerous excavations or instruments by which they are injured. By making the path as an approach to his house he has thereby given implied permission to all persons having occasion to do so to go over it to his house, and he cannot shield himself from liability upon the ground that they had no business there. He is treated, by maintaining the path, as holding out an invitation to all persons to use it who have reasonable grounds to do so, and he is bound at his peril to *207keep it in safe condition.” To the same effect is Wood on Nuisances, § 187. In Vanderbeck v. Hendry, 34 N. Jer. Law R., 471, it is said:—“ It has been substantially held that although a way may not have been dedicated to the public, or otherwise legally established for the use of the public, jmt if the owner of premises over which it passes has exhibited an intention that it shall be used by the public, either as a means of access to his property or over it, and by the manifestation of that intention has induced or allured the public'to use it, those using it within the scope of the purpose manifested are entitled to be protected from dangers to the way by reason of obstructions or interferences created during its existence, and resulting from the want of ordinary care on the part of the owner or those acting within his authority.”
Authorities to the same poiut, in great numbers, firmly establish a principle of law that imposes a duty upon an occupier of land. The' extent of that duty is co-extensive with the use to which he subjects his premises.
Under some circumstances trespassers are protected; in others, trespassers are at their own risk, while visitors are entitled to a reasonably safe passage; and in others still the public have rights that the occupier cannot safely ignore.
Trespasser the plaintiff was not; and whether she be regarded as a visitor by invitation going upon private property, or one of the public in the enjoyment of a public right by using an apparent public way as a means of access to the defendant’s building, and being injured by ua concealed source of mischief,” she was entitled to recover substantial damages.
There is error in the judgment of the Superior Court.
In this opinion Granger, J., concurred.