delivered the opinion of the court.
It is contended in behalf of appellant that appellee’s injuries were occasioned by a lack of ordinary care on her part at the time of the accident, that she knew the railing was at the time out of order and that the part of the porch containing the railing which gave way was included in the premises leased to appellee which, *497in the absence of any express agreement to the contrary, it was the duty of the tenant to keep in repair.
Appellee’s testimony is to the effect that the porch was used by herself, and family and by a Mr. and Mrs. Lukey, who occupied premises on the first floor, entrance to which was had by a door west of that giving entrance to the prémises occupied by appellee and her family; that the accident occurred in the summer, that she was in the habit of sitting on the porch in the evening, that it might be she had sometimes sat on the railing; that she first knew there was something wrong with the railing' that afternoon about half an hour before the accident when her attention was called to it by Mrs. Lukey, that she did not know the railing was in any dangerous condition at all, that Mrs. Lukey “didn’t mention it was in a dangerous way at all,” that she said “something was wrong,” and that spindles were out in consequence of which the children might fall through. Mrs. Lukey, whose deposition was taken in Detroit, testifies that the railing was loose at one end, that appellee and she talked about it a few days prior to appellee’s fall and the latter “made the remark that she was afraid the children might fall.” Her testimony is that appellee first called attention to the condition of the railing, whereas appellee states that .Mrs. Lukey was the first to call attention to it. Both agree that the conversation occurred before the accident in controversy. Mrs. Lukey states that one end of the railing was loose several days before appellee fell, that the nails had rusted and the wood had become rotted away to some extent. It can scarcely be deemed an exercise of due and ordinary care on the part of appellee to lean against the railing as she did, knowing its condition.
The testimony is conflicting as to whether the railing in" question and the part of the porch upon which it stood was included in the premises leased to appellee and her husband. The lease was verbal and the parties disagree as to its terms in this respect. As said in *498Payne v. Irvin, 144 Ill. 482-489: “The landlord as to that portion of the building and appurtenance's over which he retains control must be held to also retain the responsibility to keep the same in reasonable repair in respect of all persons, including the tenants of the building.” Appellant’s husband acted as her agent in leasing the premises and states that thex agreement with appellee’s husband included the rental of the half of the porch which contained this railing; that he requested appellee’s husband in ca§e the railing became loose to drive a nail in and the latter agreed to do it. This the latter denies, stating that he had no agreement whatever in relation to keeping the porch in repair. If we assume it was the duty of the landlord to keep the porch and railing in repair there is no evidence that the latter’s attention had been called to the condition of the railing or that any complaint about it had been made. Appellee’s husband states that he passed over the porch that morning and did not observe anything wrong with the railing.
It appears, however, that appellee and her family exercised the privilege of making use of the porch, occupying it summer evenings as a place to sit, keeping it clean as appellee was doing when injured, and that the railing itself, at least occasionally, was used by some of them as a seat. Appellee’s sister, a young woman visiting her at the time of the accident, testifies that she sat on the railing “lots of times” and sat there the night before the accident. This testimony tends to show that appellee and her family as tenants, at least regarded themselves as privileged to occupy the porch as part of or in connection with the leased premises, and not merely as entitled to use it in passing to and from their apartments up-stairs. It appears that no one else used that east part of the porch. It is evident from the testimony introduced in behalf of appellee that the condition of the railing when the premises were let was not such as to create a nuisance. If it was able to sustain the weight of a young woman *499sitting upon it the night before the accident, the railing could not have been regarded even then as in an obviously dangerous condition.
As a rule the owner of land and buildings assumes no duty to one who is on his premises by permission only, except that he will refrain from wilful or affirmative acts which are injurious. Gibson v. Leonard, 143 Ill. 182-189. If the porch and railing in controversy were not, as appellee insists, included in the lease, and she and her family had a mere easement of passage, their occupation of the porch and railing in other ways was either by permission of the landlord or they were trespassing. Under appellee’s construction of what the lease included, appellant was under no obligation to appellee to keep the railing in such condition as to bear her weight when she leaned against it. It is only a want of ordinary care and skill in respect to a person to whom the defendant is under an obligation or duty in that respect that can give a plaintiff a cause of action for negligence. As said in the case last referred to (Gibson v. Leonard, supra), quoting from Sweeny v. Railroad Co., 10 Allen, 368: “A licensee who enters on premises by permission only, without any enticement, allurement or inducement being held out to him by the owner or occupant, can not recover damages for injuries caused by obstructions or pitfalls. He goes there at Ms own risk and enjoys the license subject to its concomitant perils.” As a general rule it is the occupant and not the owner who is responsible for injuries arising from a failure to keep the premises in a proper state of repair. Tomle v. Hampton, 129 Ill. 379-383. It is evident therefore in this case that if dppellee was occupying and using the porch and railing as a part of the leased premises, she cannot recover from the landlady, since in such case in the absence of any special agreement to the contrary it would be the tenant’s duty to keep the railing in repair; and if she was there as a mere licensee by permission only, she took the risk at least of the known and obvious danger *500of leaning against a railing she knew to be defective. Knowing as she did that one end of the top of the railing was loose and liable to give way, it was certainly contributory negligence to lean against it without previously examining and testing it.
In Flynn v. Hatton, 43 Howard’s Practice Reports, 333-348, suit was brought to recover for damages occasioned by the giving way of a piazza in consequence of which injuries were sustained by a child. The defect in that case, as in this, arose from natural decay occurring during the tenancy, and it is said that 'perhaps there was sufficient evidence to show that the landlord by agreement was to make such repairs as were needed to keep them in tenantable condition; that conceding such obligations rested on the defendant by virtue of the agreement for the letting, the landlord was nevertheless not responsible to the plaintiff for the injuries sustained; that under breach of such contract the party in default was only liable for such damages as naturally and according to the usual course of things would arise from the breach, or which might reasonably be supposed to have been within the contemplation of the parties when the contract was made as a probable result of its breach, but not for accidental, remote or consequential causes. It was held, however, that even if any obligation existed on the part of the defendant as landlord growing out of his duty to so use the property as not to cause injury to others, nevertheless, the plaintiff was not entitled to recover, inasmuch as the undisputed facts constituted a clear case of contributory negligence.
It has frequently been held that the legal obligation of keeping a sufficient railing is imposed only where it is necessary to furnish a guard against a dangerous place, so that proper protection may be afforded to those whb in the exercise of due care while pássing or standing might be exposed to accident or injury. If under such conditions a person, without fault or negligence on his or her part, is forced against a railing *501or takes hold of it to aid Ms passage or falls against it by accident, and by reason of any defect or Msuffieiency it gives way and canses an injury, there might be ground for recovery against one responsible for the defect; but this is said to be the extent of such liability. Parties are not bound by law to erect and maintain railings for persons to sit upon or lean agamst. If one uses them for such purposes, she does it at her own risk. The fact that such railing was defective and would have proved an insufficient barrier if one had run against it in the night accidentally, or had otherwise been injured in making legitimate use of it, would not be sufficient to justify a recovery under circumstances such as in the case at bar. If the accident had occurred while appellee was using the porch and steps passmg up or down from the sidewalk to her own apartments, a different situation would be presented. This accident did not occur in that way. Stickney v. City of Salem, 3 Allen (Mass.), 374-377. Inasmuch as appellee received her injury while leaning against the railing, and there is no evidence of any necessity or exigency which required her to use the railing at all for that purpose, it cannot be maintained that she was injured while in the exercise of any lawful right which would entitle her to maintain this action. Arcutt v. Kittery Point Bridge Co., 53 Maine 500-504; Balch v. Garling (Sup. Ct. Ga.), 29 S. E. Rep. 146. In Kinney v. Onsted, 113 Mich. 86, the legal situation was not unlike that in the case at bar. The plaintiff was injured by the giving way of the railing about an elevated platform on private premises against which he was leaning for the purpose of talking to persons below him. The court said: “The weakness of the plaintiff’s case arises from the fact that this railmg was put to a use for which it was not intended;” and that before the railing “could become a snare or trap it must be assumed that its apparent good condition was an invitation to make such.a use of it as the plaintiff attempted. As we have said, its presence was not *502an invitation to make that use of it.” See City of Chicago v. Powers, 117 Ill. App. 453-455. The accident was unfortunate, but under the evidence it was one for which appellant cannot be held responsible.
For reasons indicated the judgment must be reversed with a finding of facts.
Reversed with finding of facts.