Reversing.
Samuel Savin sued Anna Delaney and Harry Segal under the Declaratory Judgment Act (Civil Code, sec. 639a) to obtain a declaration of his rights respecting some real property in Kenton county, Ky. It appears that Anna Delaney owned some valuable property in Covington fronting 98 feet on Madison avenue and extending back 140 feet, which, by a written instrument dated February 12, 1929, she leased to Samuel Savin, for a term of 10 years. Savin paid Mrs. Delaney the sum of $1,000, upon the execution of the contract, and an additional sum of $11,500 was to be due upon the delivery of a formal lease. As further consideration Savin agreed to pay a rental equivalent to 4 1/2 per cent. per annum on $42,500. The contract contained an option of purchase at any time during the term of the lease, at the price $42,500. After paying the $1,000, and when about to pay the additional $11,500, Savin was notified by Harry Segal that he held an option on the same property, given by Mrs. Delaney in writing, and which he had elected to exercise. Because of these facts, Segal claimed a superior right to the possession of the property. Segal was a nonresident of the state, and process could not be served upon him personally. A warning order was made against him in accordance with the Civil Code. The defendant, Anna Delaney, filed an answer and cross-petition against Segal, and a warning order against Segal was made on the cross-petition. No proof was taken, and before either warning order had matured, the case was submitted and the circuit court dismissed the action. The reason for the dismissal was, as stated in an opinion, that "the true issue between the parties in this case is between Anna Delaney and Harry Segal, and as Harry Segal is a nonresident of this state and not before the court, this court *Page 228 cannot understand that an opinion of the court would help the parties herein in any way."
The submission was premature, but the court should not have dismissed the action. It should have set aside the submission and required the parties to complete the preparation of the case.
Section 3 of the Declaratory Judgment Act (Civil Code of Practice, sec. 639a3) provides: "Declarations of rights and determination of questions of construction, as herein provided for, may be obtained by means of proceedings at law or in equity, or by means of a petition on either the law or equity side of the court, as the nature of the case may require. . . ."
If persons not before the court are interested in or affected by the proceeding, it is the duty of the court to make them parties and bring them before it, or dismiss the action without prejudice. Ezzell v. Exall,
In this case, the plaintiff exhibits a substantial interest in the property, and the defendant Anna Delaney has a right to have her title cleared, so that the contract with Savin may be performed. The claim of Segal presents an obstruction to the performance of the contract between Savin and Mrs. Delaney, and constitutes a cloud or incumbrance on her title. It is within the power and *Page 229 province of the court to ascertain all the facts respecting the relative rights of the three parties involved, and to render a judgment settling all controversies, so as to prevent any loss or injury to either party.
Until the rights of Segal have been extinguished, Savin may not obtain a clear title to the property, and, if Segal intends to assert any rights under his contract, he must do so now in order that Mrs. Delaney may know her rights, and in order that Savin may determine and pursue his remedies if he is unable to get possession of the property, freed of Segal's claim.
Counsel ask that we construe the written contract upon which Segal is said to rely, but, as Segal is not before the court, we intimate no opinion respecting his supposed rights. It is well settled, however, that the circuit court and this court, on appeal, have full power to render judgments respecting the rights of the parties concerning real estate within the jurisdiction. Collins v. Park,
The judgment is reversed for proceedings consistent with this opinion.