In an action to recover damages for injury to property based on the unconstitutional taking of real property, the plaintiff appeals from an order of the Supreme Court, Putnam County (O’Rourke, J.), dated September 22, 2005, which granted the defendant’s motion to dismiss the complaint pursuant to CPLR 3211 (a) (7).
Ordered that the order is affirmed, with costs.
The Bank applied for and obtained approval of an alternate proposal, under which the parcel would be developed as a 17-lot subdivision using subsurface septic systems. On April 21, 2003, the Bank sold the property for more than $1.4 million, which it alleges is about 20% of the value it would have realized had the parcel been approved for development as a 36-lot subdivision with a central sewer system. The Bank commenced this action to recover damages under Public Health Law § 1105, alleging that the enforcement of the Watershed Regulations effected an unconstitutional taking of its property without just compensation. The Supreme Court dismissed the complaint in its entirety and we affirm.
The private right of action provided by Public Health Law § 1105 applies only when a landowner alleges that a building was required to be removed as the result of a municipality’s enforcement of regulations adopted in relation to the construction and maintenance of sewage treatment systems, or that its property rights were affected by such removal of buildings (see Ryder v City of New York, 32 AD3d 836 [2006]). Since the Bank does not allege that enforcement of the Watershed Regulations required removal of a building as a result of the construction of a sewage treatment system, the Supreme Court properly granted the City of New York’s motion to dismiss the first cause of action.
Nor do the allegations in the complaint set forth a cognizable cause of action for a regulatory taking, as alleged in the second cause of action. Accepting the Bank’s allegations as true, and according them the benefit of every possible favorable inference,
