Plaintiffs brought this action seeking a declaratory-judgment as to their rights, status, and legal relations with the defendant with regard to a contract entered into by defendant with John and Dorothy Mach. Trial was had resulting in a decree that the contract involved was not a covenant running with the land and was not binding on the plaintiffs or any grantees of plaintiffs; that the contract being in restraint of trade was void as against public policy and for the purpbse of suppressing competition in a lawful business; that the contract was void for want of and failure of consideration; and that the plaintiffs’ property was free of any burdens of the contract and not encumbered in any manner by it. We reverse the judgment and remand the cause for failure of necessary parties.
So far as necessary for our determination here, there is no material dispute in the record.
In 1939, the defendant was the owner of some 34 acres of land generally in a rectangular tract, lengthwise to the east and west, in the city of Omaha. John and Dorothy Mach (hereinafter referred to as Mach) were the owners of 15 lots contiguous to and immediately south of the land of defendant. The larger rectangular piece of land formed by the two tracts was bisected by a highway running generally from the southeast comer of the Mach land in a northwest direction across the Mach land and the southwest part of the defendant’s land, with the result that both Mach and defendant owned land on each side of the highway. The east part of the two tracts was lower and the land to the west part higher than the grade of the highway.
“All parties hereto agree not to use any land owned by them or by either of them within the area above described from Underwood Avenue to Dodge Street and from 82nd to 84th Street, for purposes of a tourist camp, tourist apartments or dance hall, nor for any unlawful purpose, nor in any way or manner which would injure or reflect on the credit or reputation of the neighborhood. This restriction does not prohibit dancing where it is incidental to another business, nor does it prohibit the sale of beer or liquor.
“The terms and convenants (sic) contained herein to extend and be binding on the parties hereto, their heirs, executors, administrators, agents, personal representatives, lessees, grantees, successors and assigns for a period of 15 years from date hereof, (sic) In the event of a sale or lease of any portion of the premises which are subject to these restrictions, an appropriate clause or provision shall be contained in such deed or lease, enbodying (sic) the substances of the restrictions and convenants (sic) herein contained, and in the event of failure or oversight to insert such provision in such deed or lease this instrument to operate in lieu thereof.”
In January 1946, Mach began negotiations to sell his land lying south of the highway to the plaintiffs. Mach undertook to secure a release of the restriction agreement and defendant refused. Plaintiffs were advised of the restriction agreement.
On February 6, 1946, plaintiffs entered into a contract of purchase with Mach, who agreed to convey to plaintiffs, subject to building restrictions or easements then of record “and particularly' subject to the restrictions stated and provided for in a certain agreement executed by and between the first parties (Mach) - and Peony Park, a corporation, on March.. 25, 1939, * * Thereafter plaintiffs made tentative .plans for the construction of improvements -on the land and undertook to secure their approval by the defendant. Defendant did not approve.
By plat filed in April 1946, defendant subdivided its property into lots and blocks and on January 23, 1947, filed in connection therewith protective covenants “to run with the land” limiting the use to residential purposes. Defendant constructed a number of residences on the property and at the time this cause was tried had sold seven lots and residences. The evidence does not disclose the names of these purchasers nor when or under what conditions the sales were made.
The evidence also discloses that there is a corporation known as Tower Tourist Village which at all times mentioned herein owned and operatéd a business related primarily to tourist accommodations on land immediately to the east of defendant’s land. There also is evidence that the control of Tower Tourist Village is vested in the same ownership that controls the defendant corporation.
There is evidence that Mach remains the owner of that part of his land to the north of the highway.
Plaintiffs brought this action against the defendant.
Plaintiffs prayed for a declaration of rights, for a declaration that their proposed plans did not violate the agreement; that the contract was not a covenant running with the land; that it was void; and that defendant had no right to interfere with the development.
Defendant answered, admitting plaintiffs’ equitable title and the execution of the contract, and denying generally. Defendant further answered, alleging a good and valuable consideration for the contract which had been had and received by Mach; denying that the contract was one in restraint of trade or to give Tower Tourist Village a monopoly or suppress competition. Defendant alleged that plaintiffs’ proposed construction would be violative of the contract; that the proposed construction would damage and hinder the development and sale of defend
At the beginning we are confronted with defendant’s contention that the trial court erred in rendering a declaratory judgment because all interested persons were not made parties. Defendant relies upon section 25-21,159, R. S. 1943, which is in part as follows: “When declaratory relief is sought, 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.” Defendant also relies upon section 25-21,154, R. S. 1943, which is: “The court may refuse to render or enter a declaratory judgment or decree where such judgment or decree, if rendered or entered, would not terminate the uncertainty or controversy giving rise to the proceeding.”
Plaintiffs counter with two contentions: First, that under rule 8 a 2 (4) of this court, the consideration of the cause is limited to errors assigned and discussed; second, that under sections 25-806 and 25-808, R. S. 1943, objections as to parties not raised by either demurrer or answer are deemed waived.
As to the first contention, plaintiffs overlook the concluding sentence of the rule: “However, the court may, at its option, notice a plain error not assigned.”
Defendant assigns as error that the decree is contrary to law. Its first proposition of law is: “Declaratory judgments apply only to actions where there are justiciable issues, and all persons interested are made parties.” Defendant begins its argument with “Appellant contends the court erred in rendering a declaratory judgment because the petition and evidence present no justiciable issues, and all intérested persons are not made parties.”
The rule upon which plaintiffs rely is one designed to assist the parties and the coürt in determining the issues
This brings us to the contention of defendant as met by the second contention of plaintiffs.
Section 25-21,159, R. S. 1943, puts the duty upon the plaintiffs in the first instance of joining as parties all persons who have or claim any interest which would be affected by the declaration. To insure that joinder it provides no declaration shall prejudice the rights of persons not parties to the proceedings, and likewise section 25-21,154, R. S. 1943, provides that the court may refuse to render a declaratory judgment when to do so would not terminate the uncertainty or controversy giving rise to the proceeding.
It is the established rule that “The Declaratory Judgments Act is applicable only where there is a present actual controversy and all interested persons are made parties, and only where justiciable issues are presented.” Miller v. Stolinski,
In Updike Investment Co. v. Employers Liability Assurance Corporation,
In Hall v. United States Nat. Bank,
In Dobson v. Ocean Accident & Guarantee Corporation,
In Wood Realty Co. v. Wood,
Our holdings are in accord with the general rule. See, 16 Am. Jur., Declaratory Judgments, § 55, p. 327, § 61, p. 330; 1 C. J. S., Actions, § 18, p. 1048.
We call attention to two recent cases in other jurisdictions. In Conley v. Union County Peoples’ Utility Dist. (Or.),
In United Slate Workers Assn. v. United Brotherhood of Carpenters,
As above recited we have held that the presence of necessary parties was jurisdictional in this class of cases, and that is a matter which the parties cannot waive.
In Holland v. Flinn,
The question then is, are there parties, disclosed by this record, who have not been joined as parties to the action, whose absence prevents the granting of the
The record is clear that Mach is a party to the contract which plaintiffs seek to have construed and declared void. Mach owns land involved in the contract. A declaratory judgment by this court such as plaintiffs seek would be a precedent applicable to his rights and liabilities under the contract contrary to the statutory provision that no declaration shall prejudice the rights of persons not parties to the proceeding. Such a declaration, however, would not be res adjudicata as to him and would not terminate any uncertainty or controversy that he might wish to assert against either plaintiffs or defendant, or they against him. The absence of Mach as a party renders necessary a reversal of the judgment of the trial court and a denial of the declaratory judgment sought.
The situation presented as to Tower Tourist Village presents a comparable situation. Plaintiffs alleged facts, the effect of which was to say that the contract involved was one made for the benefit and advantage of Tower Tourist Village. Plaintiffs offered evidence to sustain those allegations; Tower Tourist Village, therefore, on plaintiffs’ own allegations and evidence had an interest which would be affected by the declaration, yet it is not made a party. Under these circumstances the failure to make Tower Tourist Village a party requires a reversal of the judgment of the trial court, and a denial of the declaratory judgment sought.
The situation as to the grantees of the defendant is different. Whether or not they have or claim any interest which would be affected by the declaration is not clear. The plaintiffs have the duty to determine that question initially. If they are not made parties and if, upon another trial of this action, it develops that they have or claim such an interest that they should be made parties, the court, consistent with the provisions of section 25-323, R. S. 1943, must order them brought
The judgment of the district court is reversed and the cause remanded with directions to dismiss the cause without prejudice in case Mach and Tower Tourist Village are not made parties to the action within a time to be fixed by the district court.
Reversed and remanded with directions.
