after stating tbe facts: It has generally been held in cases of this kind that there can be no recovery ai law for tbe use of a party wall, built by one of tbe adjoining proprietors, against tbe other, but tbe remedy must be sought in a court of equity. Tbe governing principle is nowhere better expressed than by Chancellor Kent in tbe leading case of Campbell v. Messier, 4 Johns. Ch. (N. Y.), 334. It will be well to state *88tbe facts before referring directly to tbe opinion of tbe Court: Two parties living in tbe city of New York, on adjacent lots and having on tbe common "line of their buildings a ruinous party wall unfit to stand, and one of tbe persons thus situated being desirous of rebuilding, proposed to tbe other coterminous proprietor to unite with him in rebuilding tbe party wall, but this request was refused. Whereupon Campbell, tbe proposer, proceeded to tear down bis own bouse, as well as tbe party wall, and rebuilt both. Thereafter Messier, who bad refused to assist in rebuilding tbe party wall, devised bis property to bis son, who thereafter sold tbe lot to Dunstan, and in tbe deed expressly conveyed to tbe latter tbe use of tbe party wall for building, and covenanted to indemnify him for so using it. Dunstan then pulled bis bouse down and erected a new one, and in so doing made use of tbe party wall, but refused to pay bis proportionate share of that wall. Campbell then sued him in an ordinary action, but was nonsuited on tbe ground that be bad no remedy at law. On this Campbell filed bis bill against both Messier and Dunstan, praying that tbe defendants be decreed to come to a settlement with him touching tbe building of tbe party wall, and to contribute and pay one-balf of tbe value thereof, etc. Upon this state of facts tbe prayer of tbe bill was granted, and a decree entered accordingly, Chancellor Kent remarking: ‘I have not found any adjudged case in point, but it appears to me that this case falls within tbe reason and equity of tbe doctrine of contribution which exists in tbe common law, and is bottomed and fixed on tbe general principles of justice.’ In Sir William Harbert’s case, 3 Co., 11, and in Bro. Abr., tit. Suite and' Contribution, many cases of contribution are put, and tbe doctrine rests on tbe principle that where tbe parties stand in equali jure, tbe law requires equality, which is equity, and one of them shall not be obliged to bear tbe burden in ease of tbe rest. It is stated in F. N. B., 162b, that tbe writ of contribution lies where there are tenants in- common, or who jointly bold a mill, pro intMvisa, and take tbe profits equally, and tbe mill falls into decay, and one of them will not repair tbe mill. Tbe form of a writ is given to compel the other to be contributory to tbe reparations. In Sir William Harbert’s case it was resolved that *89'when land was charged by any tie, the charge ought to be equal, and one should not bear all the burden; and 'the law on this point was grounded in great equity.’ . . . The doctrine of contribution is founded, not on contract, but on the principle that that equality of burden as to a common right is equity, and the solidity and necessity of this doctrine were forcibly and learnedly illustrated by Lord Ch. Baron Eyre in the case of Dering v. Earl of Winchelsea, 1 Cox’s Cases, 318. . . . The obligation arises not from agreement, but from the nature of the relation, or quasi ex contractu, and as far as courts of law have in modern times assumed jurisdiction upon this subject, it is, as Lord Eldon said (14 Ves., 164), upon the ground of an implied assumpsit. The decision at law, stated in the pleadings, may therefore have arisen from the difficulty of deducing a valid contract from the case; that difficulty does not exist in this Court, because we do not look to a contract, but to the equity of the-case, as felt and recognized according to Lord Golee in every age by the judges and sages of the law.” And the cause was referred to a master to ascertain the cost of the wall. Afterward, the cause coming on again before the chancellor, he ruled that the expense of rebuilding the wall was an equitable charge on the wall, and the owner for the time being, exercising his right in the new wall, was equitably bound to contribute ratably to the expense of the necessary reparation. And Dunstan, having purchased with actual notice of the charge or claim, was ordered to pay the moiety of the expense of rebuilding the wall. That decision, which has been approved and followed in many jurisdictions, would seem to be sufficient authority against the contention of the defendant in this case, and we deem it to be the only just and reasonable view to take of the question.
It is not important for us to inquire or to decide. whether an action at law will lie for one-half the cost of erecting the wall, as we have abolished all forms of actions and the distinction between legal and equitable remedies, and a party now recovers according to the allegations of his pleadings. Voorhees v. Porter, 134 N. C., 591; Cheese Co. v. Pipkin, 155 N. C., 394; so that if the.plaintiff has made a sufficient allegation of facts in his complaint to entitle him to equitable relief, the Court will award *90it, without regard to the form or manner in which they are alleged. We think he has done so, and there was proof to establish them, as will appear from the foregoing statement of the facts.
It has been said, though, that indebitatus assumpsit, being of an equitable nature, will lie for an adjoining owner’s share of the cost of building a party wall, and a recovery has been allowed in that form of action. Huck v. Flentye, 80 Ill., 258. A case much like ours in its facts is Rindge v. Baker, 57 N. Y., 209, in which it appeared that' two adjoining proprietors entered into a parol agreement to jointly build a party wall, one-half on the premises of each, and accordingly built a portion of the wall, but one of them refused to proceed with its construction; the other having planned.his building in reliance on the contract being performed,, was held, not confined to his remedy for specific performance, but was permitted to complete the wall and to recover of the other proprietor, in an equitable action, one-half of the expense. To the same effect is Sanders v. Martin, 2 Lea, 213. Numerous authorities sustain the proposition that such a recovery may be had under the equitable principle of contribution, against the defaulting proprietor, or his assignee with notice of the contract, one of the strongest of them being Sharp v. Cheatham, 88 Mo., 498, where the subject is treated exhaustively and with great learning and a copious citation of cases by Justice Sherwood. The effect of such an agreement is to create cross-easements as to each owner, which binds all persons succeeding to the estates to which the easements are appurtenant, and a purchaser of the estate of the owner so contracting would take it burdened with the liability to pay one-half 'the cost of the wall, whenever he availed himself of its benefits. 88 Mo., supra. The language of courts and of judges has been very uniform and very decided upon this subject, and all agree that whoever purchases lands upon which the owner has imposed an easement of any kind, or created a charge which could be enforced in equity against him, takes the title subject tó all easements, equities, and charges, however created, of which he has notice. 88 Mo., supra. Lord Cottenham said, in Tulk v. Moxhay, 2 Phil. (Eng. Ch.), 774: “If an equity is attached to prop*91erty by tbe owner, no one purchasing with notice of that equity can stand in a different situation from tbe party from wbom be purchased.” But although tbe covenant, wben regarded as a contract, is binding only between tbe original parties, yet in order to give effect to tbeir intention it may be construed by equity as creating an incorporeal hereditament (in tbe form of an easement) out of tbe unconveyed estate, and rendering it appurtenant to tbe estate conveyed; and wben this is tbe case, subsequent assignees will have tbe rights and be subject to tbe obligations which tbe title or liability to such easement creates. A purchaser of land, with notice of a right or interest in it existing only by agreement with bis vendor, is bound to do that which bis grantor bad agreed to perform, because it would be uncon-scientious and inequitable for him to violate or disregard tbe valid agreements of tbe vendor in regard to tbe estate of which be bad notice wben be became tbe purchaser. 88 Mo., supra; Spencer’s case, 1 Smith L. C. (6 Ed.), p. 167. See also Spaulding v. Grundy, 126 Ky., 510, and cases cited; Richardson v. Tobey, 121 Mass., 457; 30 Cyc., 788 and 795. It would be useless to multiply authorities, as tbe most of them will be found in tbe cases already cited.
There can be no question but that tbe defendant bad full notice of the transaction wben be bought from Thompson, and is as much affected by tbe equity as Thompson would have been, if be had not sold tbe lot.
Tbe statute of frauds does not apply. Tbe equity arises regardless of any promise except, perhaps, that which is fairly implied by law. 20 Cyc., 282; Pitt v. Moore, 99 N. C., 85; Ray v. Honeycutt, 119 N. C., 510; Tucker v. Markland, 101 N. C., 422. No point was made as to tbe .amount of tbe liability, and it seems that tbe plaintiff recovers less than one-half of tbe amount it cost him to build tbe wall.
We find no error in tbe case.
No error.