the city of New 'York, of which the defendant was owner,, upon the ground that the premises were subject to a covenant reserving the property exclusively for dwelling-houses. The' court below held, among other things, that the covenant did not run with the land, and that the restriction against carrying on any business on the premises was liable to conflict with the public welfare, and judgment was given for the defendant. Upon appeal it was reversed, the covenant held to be binding-upon a subsequent grantee with notice as well upon the original covenantor. So the restraint may be against the use of the premises for one or another particular purpose, as that no building thereon “ shall be used for the sale of ale, beer,., spirits,” etc., “or as an inn, public house or beer house.”’ (Carter v. Williams, L. R., 9 Eq. Cas. 678.) And it is said a man may covenant not to erect a mill on his own lands.. (Mitchel v. Reynolds, supra.)
Many other instances of restraint might be referred to, and where it is of such nature as concerns the mode of occupying or dealing with the property purchased in the way of business operations, or even the omission of all business or certain kinds of business, or the erection or non-erection of buildings upon the property, we see no reason to doubt the validity of an agreement fair and valid in other respects, which secures that restraint. Indeed, it seems well settled by authority that a personal obligation so insisted upon by a grantor and assumed by a grantee, which is a restriction as to the use of the land, may be enforced in equity against the grantee and subsequent purchasers with notice. (Parker v. Nightingale, 6 Allen, 341, 344; Burbank v. Pillsbury, 48 N. H. 475.) Nor is it essential that the assignees of the covenantor should be named or referred to. (Morland v. Cook, L. R., 6 Eq. Cases, 252.) In Tulk v. Moxhay (1 Hall & Quell’s Ch. Rep. 105), it was said that the jurisdiction of the court in such cases is not fettered by the question whether the covenant does or does not run with the land. In that case the purchaser of land which was conveyed to him in fee simple, covenanted with the vendor that the land should be used and kept in ornamental repair as