Opinion by
In Dwely v. Tanner, 189 Pa. Superior Ct. 635, 151 A. 2d 665 (1959), it was decided that the court below
Under the doctrine of res judicata, a judgment is conclusive as between the parties and their privies in respect to every fact which could properly have been considered in reaching the determination and in respect to all points of law relating directly to the cause of action and affecting the subject matter before the court. Wallace’s Estate, 316 Pa. 148, 174 A. 397 (1934). As stated in Cameron Bank v. Aleppo Twp., 338 Pa. 300, 304, 13 A. 2d 40, 41 (1940) : “To constitute res judicata there must be: (1) Identity in the thing sued for: (2) identity of the cause of action; (3) identity of persons and parties to the action; (4) identity of the quality in the persons for or against whom the claim is made.” Stevenson v. Silverman, 417 Pa. 187, 208 A. 2d 786,
From these criteria it must be concluded that the rule of res judicata is entirely irrelevant here. When the causes of action in the first and second actions are. distinct, or, even though related, are not. so closely related that matters essential to recovery in the second action have been determined in the first action, the doer trine of res judicata does not apply. Likewise, before, the doctrine may be applied, there must be an identity: of the persons or parties and an identity of quality in - the persons for or against whom the claim is made. Helmig v. Rockwell Mfg. Co., 389 Pa. 21, 131 A. 2d 622 (1957), cert. den. 78 S. Ct. 46, 355 U.S, 832, 2 L. Ed. 2d 44, reh. den. 78 S. Ct. 146, 355 U.S. 885, 2 L. Ed. 2d 115; Melcher v. Pennsylvania Threshermen and. Farmers’ Mutual Casualty Insurance Company, 389 Pa. 125, 132 A. 2d 190 (1957).
In Dively v. Tanner, supra, an action was brought in mandamus to require Herbert Tanner, as township plumbing inspector, to issue a plumbing permit with respect to one building located on the five acres being used as a trailer camp. The court was confronted with the question of whether Dively had established a nonconforming use as to the five-acre plot prior to the enactment of the applicable zoning ordinance. The parties did not litigate, nor was it necessary for the court to determine, whether a nonconforming use existed as to the entire forty-acre tract. .
As was noted in Haefele v. Davis, 399 Pa. 504, 508, 160 A. 2d 711, 713 (1960), the Court citing Wright v. Weber, 17 Pa. Superior Ct. 451, 457 (1901): “‘. ... The
Judge Soffel,, in her opinion, supporting her order which was affirmed in Dwely, stated that “the trailer camp was completed — with the exception of certain plumbing”. This, when coupled with her thirteenth finding of fact which reads as follows: “In June of 1953, the plaintiff contracted for the preparation of a plan of residential lots on part of the same tract involved for use as a trailer camp” (emphasis supplied), clearly establishes that Judge Soffel did not determine the entire forty-acre tract as a nonconforming use but rather that only “part of the same tract [was] involved for use as a trailer camp”.
Accordingly, we hold that it was error for the lower court to. have ruled that Dively v. Tanner, supra, was in fact res judicata as to whether the entire forty-acre tract here involved was a nonconforming use for trailer camp purposes.
Under the zoning ordinance passed by Ohio Township, as amended, the forty-acre tract owned by Builders was classified into two districts, one being R-2 residential and the other R-4 medium density. The five-acre part of Builders’ property being used as a trailer camp is within the R-4 district. A mobile home park is an accessory use in the R-4 district but not one of the permitted uses in the R-2 district. Therefore, it would be necessary, under the provisions of the ordinance, for
The, lower court held a hearing and received additional testimony and therefore the test is whethér the court abused its discretion or committed añ error of law. Richman v. Zoning Board of Adjustment,. 391 Pa. 254, 137 A. 2d 280 (1958). We find, for the reasons set forth herein, that the lower court was in error in: directing that the certificates of lawful nonconforming use be granted to Builders. - '
Order reversed.