The plaintiff is the undisputed owner of certain lots fronting on Eodney Street, in square Ho. 28, in the city of Helena, while the defendant is the admitted owner of those lots in the same square which adjoin the plaintiff’s property on the rear end. Between the premises of the parties there has existed an alleyway of some eight feet or more in width, which afforded access to the rear of the lots occupied by the complainant. Her dwelling-house stands directly on the eastern line of the fence, along the neutral ground, and has windows in that side next the premises of the defendant, and which overlook the play-grounds used by the pupils of the academy. Becently the defendant entered upon the plaintiff’s side of the alleyway, which, however, has never been dedicated to public uses, and belonged in equal portions to the owners of the adjacent lots, and commenced the erection of a fence, which if allowed to have been consummated would have entirely closed the windows in the plaintiff’s house, excluding both light and air, thereby rendering the house uncomfortable, unhealthy, and undesirable for habitation. Setting forth these facts, and the irreparable injury she would suffer if the defendant were allowed to consummate its designs, the plaintiff applied for and obtained an order on the defendant to show cause why an injunction should not be *268granted restraining the acts complained of. After hearing the parties, the writ was granted, but in such a way as to permit the defendant to erect its fence hot nearer than four feet to the wall of the plaintiff’s house; and from that order the present appeal is prosecuted. Without recapitulating the evidence adduced upon the hearing, we may rest with saying that it satisfactorily established the allegations of the complaint, and is ample to sustain the order, if under such circumstances the law permits the use of the writ. The right to the writ is opposed by the defendant because, as it contends, the facts show a mere trespass, which can be compensated by damages, and the injury is therefore not irreparable. This position is undoubtedly correct under the authority of some very eminent jurists, particularly that of Chancellor Kent, as set forth in his opinion in Jerome v. Ross, 7 Johns. Ch. 315; 11 Am. Dec. 484. But the contrary opinion is held by equally as eminent authority, and it cannot be doubted that the tendency of that distinguished jurist to limit and restrain the use of the writ to a comparatively few aggravated cases of trespass is opposed to the weight of modern decisions of the highest ability and authority. (Pomeroy’s Equity Jurisprudence, § 1357.) Quoting from the same paragraph the author says: “If the trespass is continuous in its nature, if repeated acts of wrong are done or threatened, although each of these acts taken by itself may not be destructive, and the legal remedy may therefore be adequate for each single act if it stood alone, then also the entire wrong will be prevented or stopped by injunction, on the ground of avoiding a repetition of similar actions. In both cases the ultimate criterion is the inadequacy of the legal remedy. All the cases, English and American, have professed to adopt the inadequacy of legal remedies as the test and limit of the injunctive jurisdiction; but in applying the criterion, the modern decisions, with some exceptions among the American authorities, have certainly held the injury to be irreparable, and the legal remedy inadequate in many instances and under many circumstances, where Chancellor Kent would probably have refused to interfere. It is certain that many trespasses are now enjoined, which, if committed, would fall short of destroying the property, or rendering its restoration to its original condition impossible. The injunction *269is granted, not because the injury is essentially destructive, but because being continuous or repeated, the full compensation for the entire wrong cannot be obtained in one action at law for damages. While the same formula is employed by courts of equity in defining their jurisdiction, the jurisdiction itself has practically been enlarged; judges have been brought to see and to acknowledge — contrary to the opinion held by Chancellor Kent — that the common-law theory of not interfering with persons until they shall actually have committed a wrong is fundamentally erroneous; and that a remedy which prevents a threatened wrong is in its essential nature better than a remedy which permits the wrong to be done, and then attempts to pay for it by the pecuniary damages which a jury may assess. The ideal remedy in any perfect system of administering justice would be that which absolutely precludes the commission of a wrong, and not that which awards punishment or satisfaction for the wrong after it is committed.” In section 926 of Story’s Equity Jurisprudence, we find him announcing the rule that an injunction will be granted where the injury is irreparable, or where loss of health or permanent ruin to property will ensue from the wrongful act or erection; and in section 928 he says: “It is upon similar grounds that courts of equity will interfere in cases of trespass.” “ Formerly,” he says, “ courts of equity were extremely reluctant to interfere even in cases of repeated trespass. But now there is not the slightest hesitation, if the acts done or threatened to be done to the property would be ruinous or irreparable, or would impair the just enjoyment of the property in future. If, indeed, courts of equity did not interfere in cases of this sort, there would (as has been truly said) be a great failure of justice in the country.” Our statute authorizing the use of the writ merely formulates those principles announced in the elementary works on equity jurisprudence. The second paragraph of section 173 of the Code of Civil Procedure says the writ may be granted “when it shall appear by the complaint or affidavit that the commission or continuance of some act during the litigation would produce great or irreparable injury to the plaintiff.” Formerly acts like that complained of were not considered as causing irreparable injury, and it was held that the plaintiff’s remedy was complete at common law; but the *270modern tendency is to grant the writ in all cases where it is necessary to protect the applicant in the beneficial use and enjoyment of his own property. The law sometimes lays us open to wounds because it is supposed to possess the power of healing all wrongs; but it would be a travesty upon justice to permit the defendant to close up the windows in the house of the plaintiff) thereby depriving it of light and air, and destroying the house as a habitation, and then relegate the plaintiff to a suit at law for damages. The inadequacy of the remedy at law, under such circumstances, is too apparent for argument; for how shall the inconvenience, the uncomfortableness, the loss, perhaps, of health, be satisfactorily measured in such an action. While the mere act of damage to the house, and the use of that part of the lot, could be ascertained in a suit for damages, there would yet remain to be considered the other elements of injury above mentioned. If the injury sought to be warded off is not of that character which is denominated irreparable, it would be difficult to imagine a case which would come more completely under the rule. The plaintiff is entitled to the protection of the law in the use and enjoyment of her property; and the writ, we think, properly issued to prevent the defendant from erecting the fence upon the land of the plaintiff in such a way as to close up the windows in her house. She not only had no speedy or adequate remedy at law, but the injury complained of would have been irreparable and continuing, and when such is the case the relief should be granted. (Mayor v. Groshon, 30 Md. 436; 96 Am. Dec. 591; Grant v. Crow, 47 Iowa, 632; Marion v. Johnson, 22 La. An. 512.) There is no error in the order appealed from, which is therefore affirmed at cost of appellant.
Judgment affirmed.
De Wolfe, J., and Bach, J., concur.