The sole question presented for review is whether the trial court erred in granting partial summary judgment in favor of defendants on the ground that as a matter of law plaintiff was not entitled to receive notice of the foreclosure made reference to in plaintiffs first claim for relief.
At the time of the foreclosure proceedings instituted on 31 March 1977, the relevant portion of G.S. 45-21.16(b) then in effect read as follows:
(b) Notice of hearing shall be sent to:
* * *
(3) To the record owner or owners (including owners in tenancy by the entirety) of the real estate at the time of the giving of the notice.
*677We note that the above section of the statute was amended in 1977. Session Laws 1977, c. 359, s. 18, provides: “This act shall become effective on October 1, 1977, and shall apply only to those foreclosure actions commenced on or after that date.” Session Laws 1977, c. 359, s. 17 provides that this act shall not apply to pending litigation.
Plaintiff contends that by virtue of the recorded management agreement, which promises to convey to plaintiff a 50% interest in the real property to be conveyed after two promissory notes are repaid but not later than five years and which creates in plaintiff a property interest in the real property, it was a record owner within the meaning of the statute and as such was entitled to notice. We do not agree.
G.S. 45-21.16 does not contain a definition of “record owner or owners.” In interpreting G.S. 45-21.16, this Court has stated:
The intent of the legislature controls the interpretation of a statute. In ascertaining this intent the courts should consider the language of the statute and what it sought to accomplish. (Citations omitted) G.S. 45-21.16 was enacted in response to Turner v. Blackburn, 389 F. Supp. 1250 (W.D.N.C. 1975) In Turner, the court held that the statutory procedures governing foreclosure under a power of sale did not comport with due process because the procedures did not provide adequate notice or a hearing prior to foreclosure and the mortgagor had not waived notice and hearing.
In re Watts, 38 N.C. App. 90, 93, 247 S.E. 2d 427, 429 (1978). Thus, the Legislature was responding to the specific due process requirement laid down in Turner that personal notice of foreclosure be given to the mortgagor. 389 F. Supp. at 1257-59.
In light of the legislative history, we hold that the term “record owner” in G.S. 45-21.16 was intended to refer to either the original mortgagor of the property or a present owner who has purchased property subject to a mortgage. This interpretation is supported by G.S. 45-21.16A which contains the following language:
*678Contents of Notice of Sale. — The notice of sale shall — (1) Describe the instrument pursuant to which the sale is held, by identifying the original mortgagors and recording date, and if different from the original mortgagors shall list the record owner of the property, as reflected on the records of the register of deeds not more than 10 days prior to posting the notice, who may be identified as -present owners, and may reflect the owner not reflected on the records if known. (Emphasis added)
Because plaintiff was neither the original mortgagor nor the present owner of the property, it was not entitled to notice of the foreclosure under G.S. 45-21.16 then in effect and summary judgment was properly granted on this issue.
Affirmed.
Judges Arnold and Hill concur.