Appeal from an order of the Supreme Court (Dawson, J.), entered March 22, 1999 in Clinton County, which, inter alia, granted defendant’s motion for summary judgment dismissing the complaint.
In January 1990, plaintiff Arthur S. Spiegel acquired certain real property, formerly used as an automobile service station, in the Town of Champlain, Clinton County, which he leased to defendant for a 10-year term commencing January 1, 1990. Under the terms of the lease, defendant was granted a right of first refusal to purchase the property. In addition, the lease provided that defendant could make leasehold improvements and that the landlord would proportionately reimburse it for the cost of such improvements in the event the property was sold to a third party during the term of the lease.
In February 1995, Siegel transferred the property to plaintiff Graystone Limited Partnership, an entity in which he had a partnership interest. In June 1998, Graystone received an offer from a third party to purchase the property. Graystone promptly notified defendant of the offer and inquired whether defendant intended to exercise its right of first refusal. Defendant did not respond to such inquiry, but advised Graystone that it intended to remain in possession of the premises until the expiration of the lease term, or any renewal thereof, notwithstanding the sale of the property to a third party.
In August 1998, plaintiffs commenced this declaratory judgment action seeking, inter alia, a ruling that defendant had no right to occupy the premises under the terms of the lease after the property was conveyed to a third party. Following joinder of issue, each side moved for summary judgment. Supreme *638Court, inter alia, granted defendant’s cross motion and dismissed the complaint, resulting in this appeal.
Resolution of the present matter turns upon the interpretation to be given certain provisions of the lease and whether defendant’s leasehold interest terminated upon the conveyance of the property to a third party. In support of its claim that defendant’s leasehold interest did terminate upon such event, plaintiffs rely upon the “Third” and “Fourth” paragraphs of the rider to the lease. The “Third” paragraph sets forth defendant’s right of first refusal and states, in pertinent part, that: “Landlord hereby grants to tenant a right of first refusal to buy the leased premises at a price and upon terms equal to those contained in a bona fide offer to purchase made to the landlord during the term of this lease, provided lessee shall have fully performed said lease and made all payments required hereby to that time. * * * The obligations of lessee under this lease shall cease after the consummation of said sale” (emphasis supplied). The “Fourth” paragraph addresses leasehold improvements and provides, in relevant part, that:
“The tenant shall be allowed to make leasehold improvements necessary for the operation of the service station. These leasehold improvements shall become the property of the landlord upon the termination of the lease, subject to the following exceptions: * * *
“b. If the landlord sells the property and the tenant has not elected to exercise its option to purchase. * * *
“then, the landlord shall reimburse the tenant for the costs of these leasehold improvements, less ten (10%) percent of the cost thereof for each year of use during the original ten year term of the lease” (emphasis supplied).
Plaintiffs contend that the underscored language reveals that the sale of the property is a lease terminating event. Our reading of these provisions, however, does not support such an interpretation. The reference in the “Third” paragraph to the cessation of the tenant’s obligation upon the sale of the property is, when read in the context of the entire paragraph, meant to refer to a sale to the tenant upon the exercise of the right of first refusal. The reference in the “Fourth” paragraph to the termination of the lease relates to the landlord’s ownership of the tenant’s improvements to the property when the lease ends. Its subsequent reference to the landlord’s sale of the property when the tenant has not exercised its right of first refusal concerns the landlord’s obligation to reimburse the tenant for the cost of such improvements. Giving the provisions of the lease their plain and ordinary meaning (see, Wood v Maggie’s *639Tavern, 257 AD2d 733, 734; Morey v Security Mut. Ins. Co., 245 AD2d 852, 853), the language does not support a construction depriving defendant of its rights thereunder upon plaintiffs’ sale of the property to a third party (see, e.g., Eaton v Fisk, 154 Misc 2d 266, affd 197 AD2d 862). We have considered plaintiffs’ remaining contentions and find them to be without merit. Since this is an action for a declaratory judgment, however, dismissal of the complaint was improper and a declaration should be granted in favor of defendant (see, Maurizzio v Lumbermens Mut. Cas. Co., 73 NY2d 951, 954).
Mercure and Graffeo, JJ., concur.