Opinion by
Mr. Justice Walling,This appeal involves the validity of a judgment confessed in an amicable action of ejectment, between landlord and tenant. Prior to the time in question the Wilson estate, as owner of the building situate on the northwest corner of 13th and Market streets, Philadelphia, made a lease of a part thereof to the United Cigar Stores Company, for a term of years, which provides, inter alia, “It being agreed that should the building of which the demised premises are a part be sold by the under*561signed and the undersigned desires possession of the premises under lease by you at the end of any year during the extended term, you agree to give possession to the undersigned upon the payment of ten thousand dollars ($10,000) in cash, by the undersigned to you and upon ninety (90) days’ written notice to vacate.” Thereafter said company sublet a portion of the demised premises, including the basement, to Benjamin Bauer, Jr., the plaintiff herein, the lease to him being made subject to the conditions in the original lease and with the right to terminate the same at the end of any year, on sixty days’ notice, in the event of a termination of the lease to the cigar company; Bauer in turn sublet the basement to Peter A. Hill, the defendant. The lease to the latter provides, inter alia, “This lease and all the terms, covenants and conditions hereof are in all respects subject and subordinate to the rights of the lessor’s landlord and to the lease under which the lessor holds the premises, and to the lease or renewal agreement for the new term, presently given to the said lessor herein.” The leases to both Bauer and Hill were extended until 1922, subject to the right of cancellation as above stated.
In July, 1919, the Wilson estate made and executed an unconditional written agreement for the sale of the building to Jacob Marcus et al., to be consummated by payment of consideration, delivery of deed and possession on January 2, 1920, of which the Wilson estate forthwith gave notice to the cigar company, demanding possession on the day last above mentioned, and the latter gave a like notice and demand to Bauer and he in turn to Hill. Meantime both the cigar company and Bauer made amicable arrangements for the vacation, etc., of the portions of the building embraced in their respective leases, but Hill declined to do so or to vacate the premises occupied by him. Pinal settlement was made and deed for the property delivered according to the agreement, and thereafter Bauer, in order that he *562might surrender up the property as obligated, entered judgment against Hill in an amicable action of ejectment, pursuant to a stipulation in the latter’s lease as follows, viz: “and where the lease shall be so determined by condition broken and notice as aforesaid, and also when and as soon as the term hereby created shall have expired by its own limitation, it shall be lawful for any attorney of any court of this county to appear for the lessee in an action of ejectment to be therein brought by the lessor for the recovery of the demised premises, and therein confess judgment,” etc. The defendant petitioned the court below to open the judgment, to which an answer was filed and testimony taken. Thereafter, upon due consideration, the court discharged the rule to open the judgment, from which defendant brought this appeal.
His main contention is that the building was not sold within the terms of the lease, until delivery of the deed and, hence, the notice to vacate was premature; with this we cannot agree. “Sale is a word of precise legal import, both at law and in equity. It means a contract between parties to pass rights of property for money which the buyer pays, or promises to pay, to the seller for the thing bought and sold”: Williamson v. Berry, 8 How. 544; Huthmacher v. Harris’s Administrators, 38 Pa. 491, 498; Bigley v. Risher, 63 Pa. 153, 155. Land may be sold by an article of agreement as well as by deed: Fryer v. Rishell, 84 Pa. 521; Phillips v. Swank, 120 Pa. 76. In popular language property under contract of sale is often referred to as sold: see vol. 5, Words & Phrases, p. 654. Whenever an unconditional agreement has been made for the sale of land, such as equity will specifically enforce, it may properly be referred to and treated as sold; then the vendee becomes the equitable owner and the vendor holds the legal title as trustee: see Bender v. Luckenbach, 162 Pa. 18, 25; Morgan v. Scott, 26 Pa. 51; Rangler’s App., 3 Pa. 377; Simmons’s Est., 140 Pa. 567; Longwell v. Bentley, 23 *563Pa. 99. The fact that the vendor as holder of the legal title may insure the property, or recover for a fire loss, does not control the question here involved. When the equities require it, he is treated as trustee of such insurance money: Insurance Co. v. Updegraff, 21 Pa. 513; Peoples Street Ry. Co. v. Spencer, 156 Pa. 85. Such sale by agreement, when bona fide, justifies the landlord in warning Ms tenant to vacate, where the lease provides it may be done in case of sale of the premises. It is not a question as to whether, under such circumstances, a tenant can be forced to surrender possession, but of whether notice to do so may be given, prior to the passing of the legal title, and of that we have no doubt; to hold otherwise would unduly hamper sales of leased property. Moreover, the original lease here says, “should the undersigned [lessor] desire possession,” not the vendee, it shall be given, etc.; which strengthens the conclusion that the parties had in mind a sale by agreement rather than one finally consummated by deed. Hence, the sale made by the agreement in July, 1919, followed by due notice given the defendant, operated to terminate his lease at the end of that year, and gave rise to conditions justifying the entry of the judgment in question, especially as the sale had been fully consummated prior to the entry of such judgment.
Technical questions are suggested as to the authority to confess judgment after plaintiff had in effect surrendered possession of the premises occupied by him, and also as to whether such judgment could be confessed, under the terms of the lease, before an action of ejectment had actually been brought; but, as neither is suggested in the petition to open judgment, they cannot be considered. For proceedings to open a confessed judgment are purely equitable in form, wherein the petition and answer comprise the pleadings, and the court grants relief only upon the grounds embraced therein: State Camp of Pennsylvania of the Patriotic Order Sons of America v. Kelley et al., 267 Pa. 19; Carr v. Ætna *564A. & L. Co., 263 Pa. 87, 93; Fisher v. King, 153 Pa. 3; Wyman & Colegrove’s App., 3 Walker 410; Pfaff v. Thomas, 3 Pa. Superior Ct. 419.
An application to open a judgment is also equitable in substance and must rest on a meritorious and not on a mere technical defense: State Camp of Pennsylvania of the Patriotic Order Sons of America v. Kelley et al., supra, and authorities there cited. As the present case depends upon legal questions and deductions from undisputed facts, it is before us for review upon the merits, rather than to determine whether the chancellor has properly exercised his discretion (see case last above cited), but we find nothing to justify a reversal.
The order discharging the rule to open the judgment is affirmed.