This is an appeal by two abutters from a judgment, entered after trial, dismissing their complaint seeking enforcement of the zoning by-law of the town of Canton. We affirm on the ground of res judicata.
The plaintiffs in this action are owners of property in Canton immediately adjacent to a lot (Lot 28) owned by the defendant, Francis A. Leahy, trustee of Breton Realty Trust. The other defendant, Dominic Duganiero, is the building inspector of the town. The plaintiffs in their complaint, as amended, seek: (1) an order revoking a building permit issued by the building inspector because the proposed residence of the defendant Leahy does not meet the front setback requirements of the Canton zoning by-law; (2) an injunction prohibiting Leahy from continuing to build on his property; and (3) an order requiring Leahy to remove all structures and to restore the lot to the condition it was in prior to the start of construction. Leahy’s answer raised res judicata as an affirmative defense. The answer of the building inspector averred that the permit complied with a 1974 judgment in an action brought by Leahy’s predecessor in title, Paul B. Morley. 3
In order to determine whether the plaintiffs in this action are barred by the Morley litigation, 4 we have to determine the scope of that litigation, whether it adjudicated the matters raised in this action and, if it did, whether these plaintiffs are bound by the prior judgment.
1. We first examine the scope of the prior litigation. The trial judge in this action found that "the exact issues presented for consideration in the present suit were considered by the court and fully litigated and contested between the plaintiffs in the original Morley suit and the *477 Building Inspector of the Town of Canton.” While we do not have before us the entire record of the Morley litigation, 5 the material we do have, and which will be discussed more fully below, clearly indicates that the judgment in Morley, if binding on the plaintiffs, bars the claims raised here.
The facts concerning the Morley litigation are derived from the pleadings, from an "Agreed Statement of Facts” filed by the parties, and from the findings, rulings and orders of the judge in that case.
Morley was a petition for a writ of mandamus brought by the previous owner of Lot 28, asking that the building inspector be directed to issue a building permit. 6 Although the lot did not meet either the area or the setback requirements of the governing by-law,- Morley claimed that his lot came within certain exceptions in the by-law which permitted him to build on the lot. One exception was a grandfather clause (§ VII) which permitted construction if the lot (1) met the area requirements of the zoning by-law when the lot was laid out, (2) was not subsequently reduced in size so as further to increase its nonconformity with the area, width and frontage requirements (except by a taking by eminent domain), and (3) met all the other provisions of the then current by-law.
The original lot as laid out and recorded in 1939 showed a ninety-foot depth from the street (Pleasant Circle, formerly known as Daniels Road). In 1946, however, the town laid out the street twenty feet farther south than shown on the 1939 plan so that the lot, in fact, was approximately seventy feet deep and not ninety feet deep. 7 Both the building inspector and Morley agreed that the *478 lot met the area requirements applicable at the time the lot was laid out and recorded in 1939, but the building inspector claimed that the lot had subsequently been reduced so as to increase its nonconformity.
Another exception in the by-law (§ VIII C) stated that a building could be constructed as near to the street line as the average of the setbacks of the dwellings on either side of the lot. It was agreed by the parties in Morley that the average setback from the street of the buildings on either side of the lot was twenty-two and one half feet. 8
The judge in Morley issued initial "findings, rulings and order” in January, 1974, and decided that "it is permissible to build a single family home on the subject lot.” He also ordered that a writ of mandamus issue directing the building inspector to issue a building permit. The building inspector filed a claim of appeal. On April 2, 1974, the judge withdrew his January findings, rulings and order (the reason for such withdrawal does not appear) 9 and, on April 8,1974, issued new "findings, rulings and order,” which contained the following new ruling: "Due to the taking 10 and the exemption of the lot from the *479 6500 square foot requirement under the 1939 public taking clause, I find that this lot is presently buildable for a single family dwelling with 22.5' setback measured from, original street line” as shown on the 1939 plan (emphasis supplied). This ruling was erroneous as set forth in the margin. 11
The April ruling also specified the rear and side yard requirements, and stated that the building inspector had unlawfully denied Morley a permit. The judge ordered that a writ of mandamus issue directing the issuance of a building permit to Morley. The appeal by the building inspector from the January order was withdrawn on the same day that the new order was issued, and no appeal was taken from the April order.
2. The foregoing detailed description of the Morley litigation shows that the matters raised in this action were conclusively settled in Morley. The plaintiffs claim, however, that Morley is not a bar to this proceeding because § VIII of the Canton by-law governing setbacks was not referred to in the pleadings in Morley and that the only reference in the pleadings was to § VII which relates to lot areas, widths and exceptions for existing lots. We do not agree.
The setback questions were obviously before the court. The statement of agreed facts specifically referred to § VIIIC of the by-law (the same section that is relied upon in the complaint in this action) and set forth that the building would have a “reduced” setback and would meet the setback exception measured by the mean distance of adjoining buildings.
*480
The judge’s rulings and order in
Morley
specified the exact front, back, and side yard requirements for a building on Lot 28 and ordered the building inspector to issue a permit for a residence meeting such requirements. Under these circumstances, the ruling as to the front yard requirement under the zoning by-law was "inextricably interwoven with the rulings of law and order for judgment.”
Sheehan Constr. Co.
v.
Dudley,
Moreover, the claim raised by the plaintiffs in this action is the same claim which was raised in
Morley,
namely that the zoning by-law of Canton precludes a building on Lot 28. Even if the front setback requirements had not been before the court, the
Morley
case cannot be viewed as an action to determine whether § VII of the Canton by-law precluded a building on Lot 28, and this action as one to determine whether § VIII precludes a building on such lot. It is rudimentary, whatever the definition of "claim,” or of the older term "cause of action,” that all the defenses to the issuance of a building permit for Lot 28 based on the Canton zoning by-law had to be raised in the prior action. The first action would be a bar even if, as is not the case here, only one section of the by-law had been put in issue.
Trustees of Stigmatine Fathers, Inc.
v.
Secretary of Admn. & Fin.,
*481
3. We next turn to the question whether the plaintiffs who were not parties to the
Morley
litigation are, nevertheless, bound by its judgment.
12
That question, in turn, depends on the nature of the plaintiffs’ interest, whether that interest was represented in
Morley,
and whether there are special circumstances or due process considerations which make it unfair to bind the plaintiffs to that judgment. As we have seen earlier, the plaintiffs are here challenging, as a violation of the zoning by-law, Leahy’s right to construct a building on his land. Under Massachusetts law, abutters or neighboring property owners do not have a private cause of action for direct enforcement of zoning regulations.
O’Brien
v.
Turner,
The responsibility for enforcing zoning ordinances or by-laws lies with the municipality and is assigned by statute to the building inspector or other specified municipal officers. G. L. c. 40A, § 7.
13
Brady
v.
Board of Appeals of Westport,
It is not necessary to name the municipality as a party.
Brady,
Thus, there is no question that the
Morley
action, in which the building inspector participated as the proper enforcing officer, was, in substance, a proceeding against the municipality of Canton in which the interests of all of the citizens of Canton, including the plaintiffs, were represented. The building inspector, by having refused to grant a permit for Lot 28 and by having defended the action brought against him by Morley, already sought the enforcement of the zoning by-law that the present action seeks to require. Cf.
Stow
v.
Pugsley,
*483
While we have not found any exact holding to this effect in Massachusetts, the result we reach is suggested by, or at least is consistent with, two cases. In
Haverhill
v.
DiBurro,
We also read the discussion in
Woods
v.
Newton,
*484
Woods
court had previously quoted,
15
and to
Attorney General
v.
Dover,
Our conclusion that the plaintiffs are bound by the prior action is supported by the Restatement (Second) of Judgments § 85 (1) (d) (Tent. Draft No. 2, 1975) and by cases in other jurisdictions. Under § 85.1(d) a person is bound by the rules of res judicata when represented by a party who is ”(a)n official or agency invested by law with authority to represent the person’s interests.” '
The most thoughtful discussion of representation of a nonparty by a governmental agency we have found is by Judge Wisdom in
Southwest Airlines Co.
v.
Texas Intl. Airlines,
We believe the present case is stronger than
Southwest Airlines Co.
Not only are the legal interests of the town and the plaintiffs identical, but here the plaintiffs have no direct private right at all.
16
The public right has been litigated and the plaintiffs’ right to assert that public right through a proceeding in the nature of mandamus is no longer available to them. Contrast
Williamson
v.
Bethlehem Steel Corp.,
Other courts, too, have invoked the same principle and have held that litigation by a governmental agency is binding on citizens who were not parties to the prior
*486
litigation. In
Rynsburger
v.
Dairymen’s Fertilizer Coop., Inc.,
The only remaining question is whether there'are considerations which make it unfair to bind the plaintiffs to the
Morley
judgment. We think not. See Judge Wisdom’s discussion of due process considerations in
Southwest Airlines Co.,
One of the factors entering the balance as to whether it is unjust to bind a person not a party to litigation is the quality of the representation in the prior action. See
Southwest Airlines Co.,
In weighing the other considerations which lead us to rule that the plaintiffs are bound by the prior action, we deem most important the limited nature of the plaintiffs’ interest discussed in part 2 of this opinion. Balanced against that interest, which is to see that the public duty is enforced, are the public and private interests against relitigation of issues previously decided. Where the issuance of a permit to a landowner is contested by the municipal official charged by statute with the enforcement of the zoning by-law,
18
and where, after litigation, a court determines , that the lot is a buildable one, the landowner, or persons in privity with him, should be able to rely on that decision in the absence of special circumstances. A landowner should be given some measure of security before undertaking expensive construction. See
Pitman
v.
Medford,
Here, Leahy testified that he relied on the Morley case in buying the lot. If the plaintiffs are permitted to reopen *488 the previously litigated questions because they were not parties to the earlier action, what is to prevent a second or a third action against Leahy by other neighbors 19 who were not parties to or given notice 20 of this action? 21 The Massachusetts rule that adjacent landowners, with respect to zoning laws, can only enforce the public right by an action in the nature of mandamus against their public officials, 22 gives such owners only limited interests. A salutary corollary to that rule is that, in those circumstances where the public right has been litigated and the public officials are bound by the judgment, the neighbors and other citizens are also bound.
Judgment affirmed.
Notes
Paul B. Morley, trustee, vs. Dominic Duganiero, Building Inspector of Canton, Superior Court, Norfolk County, Eq. No. 108697 (1973) {Morley).
This opinion is written on the assumption that there has been no substantial change in the controlling facts, the by-law, or legal principles since the
Morley
case. See
Montana
v.
United States,
As to the use of extrinsic evidence to determine what issues were litigated, see Restatement (Second) of Judgments § 68, Comment f (Tent. Draft No. 4, 1977). As to use of the entire trial and appellate record of the prior proceedings, see Boyd v. Jamaica Plain Co-op. Bank, ante 153, 160 (1979).
No question is raised as to the propriety of that remedy.
The front setback requirement was thirty feet, and the rear setback requirement was thirty-five feet. If both those setback require- *478 merits were to be met, a building of only five feet in depth could be constructed on a lot having a depth of approximately seventy feet.
There is evidence in the present action which confirms this figure. While the complaint alleges that Morganelli’s house is set back nineteen feet from the street and Dillon’s house is set back twenty-nine feet, an engineer testified that Dillon’s house is, in fact, only set back twenty-six feet. ([26 + 19] -f- 2 = 22.5). Morganelli testified that Leahy’s foundation at its closest point to the street was about twenty-one feet. Dillon testified that the front of Leahy’s foundation was fifty-eight feet from the back line of the lot.
In this action Morganelli attempted to question the building inspector concerning the withdrawal of the earlier document. The judge excluded such evidence, and no objection was made. No claim is made that the second ruling in Morley was obtained by fraud or collusion.
The judge thus found that the laying out of the street came within the 1939 amendment to the by-law providing that a reduction in size on account of a taking by eminent domain would not prevent construction.
The consequence of ordering the front setback from the original street line on the 1939 plan is that the 22.5' setback is measured from a more northerly point than the buildings of the adjoining owners. See note 8, supra. Thus, the plaintiffs’ claim that the Morley decision was in error is correct. We shall discuss the effect of the error in part 3 of this opinion.
There is no question that both defendants were either parties or in privity with parties in
Morley.
The building inspector was a party and Leahy, the purchaser from Morley, as the successor owner is in privity with a party.
Sheehan Constr. Co.
v.
Dudley,
As appearing in St. 1975, c. 808, § 3. The law in effect at the time this action was brought was G. L. c. 40A, §§ 12 and 22, inserted by St. 1954, c. 368, § 2.
Casasanta
v.
Zoning Bd. of Appeals of Milford,
Since the rights of an abutter are quite different from the rights of an owner, the plaintiffs are not helped by the fact that in some
*483
circumstances an owner who did not participate in prior litigation may not be bound by earlier proceedings.
Pioneer Insulation & Modernization Corp.
v.
Lynn,
The following quotation from
Povey
appears in
Woods,
"Moreover, it is required by c. 231A, § 8, that 'all persons shall be made parties who have or claim any interest which would be affected by the declaration, and no declaration shall prejudice the rights of persons not parties to the proceeding.’ If then these plaintiffs are proper parties to this proceeding why must not all other taxpayers who have the same rights as the plaintiffs be made parties? And if all others are not made parties why may not other taxpayers who are not bound by the present proceeding bring other and later suits in their respective rights? And if ten or more taxpayers have a right to sue for declaratory relief, why does not a single taxpayer have the same right? We cannot believe that the Legislature intended that public officers should be subject to harassment by taxpayers as to their official acts in this manner.”
The plaintiffs here are not pursuing their limited statutory right under c. 40A, § 17, as appearing in St. 1975, c. 808, § 3, as amended by St. 1978, c. 478, § 32. Compare
Rafferty
v.
Sancta Maria Hosp.,
See note 9, supra.
See note 13, supra.
See
Povey
v.
School Comm. of Medford,
General Laws c. 40A does not require that notice of the issuance of a permit be given to abutters. For a suggestion that some notice of the issuance of a permit should be given, see Ryckman, Judicial and Administrative Review in Massachusetts Zoning and Subdivision Control Cases, 52 Mass. L.Q. 297, 330, 339 (1967).
The only limitation would appear to be the time limit set by former G. L. c. 40A, § 22, now included in c. 40A, § 7, as appearing in St. 1975, c. 808, § 3.
See note 16, supra.
