Plaintiff brought this action to foreclose a certain real estate mortgage, which it is alleged was executed and delivered by the defendant Casselton Realty & Investment Company to C. H. Anheier, as receiver of the plaintiff bank on December 23, 1915, and subsequently assigned by said Anheier to the plaintiff. In its complaint the plaintiff also alleged that the defendant Gilbert has or claims some right or interest in the property described in the mortgage adverse to the plaintiff. The defendant Gilbert, in his answer, assails the validity of the mortgage. He avers that such mortgage was never executed by the defendant corporation or by any of its officers or agents authorized to so do. He further alleges that he duly recovered a judgment against the defendant corporation for $1,013.49 in the district court of Gass county, in this state, and that such judgment was duly entered and docketed in the office of the clerk of said district court on March 23, 1916, and became and still is a valid and existing lien upon *358the premises described in the complaint. The plaintiff, by way of reply, averred that the mortgage described in the complaint was duly executed and delivered by the defendant, acting by and through its duly elected, qualified, and acting treasurer, Correll, pursuant to instructions from and upon authority and permission of R. 0. Kittel, the qualified and acting vice president of the defendant corporation. It is further averred that Correll had ostensible authority to execute such mortgage. The case was tried to the court upon the issues thus framed, and resulted in findings and judgment in favor of the plaintiff for the foreclosure of the mortgage in accordance with the prayer of the complaint. The defendant Gilbert has appealed and demanded a trial anew in this court.
The Casselton Realty & Investment Company was organized under the laws of this state in 1906. It constructed a number of dwellings in Casselton, which it rented to various tenants. The defendant Gilbert was the first president of the corporation, and the records do not show that any successor has been chosen. However, it is undisputed that the defendant Gilbert, in 1912 went to California and has since been a resident of that state, and a list of stockholders offered in evidence by the plaintiff shows that the defendant Gilbert is no longer a stockholder. So far as the evidence shows, no meetings of the stockholders were held subsequent to 1909. The corporation, however, continued to own some houses in Casselton. The treasurer, Correll, looked after these properties. He rented them, collected rent, paid taxes, arranged for insurance and necessary repairs of the houses, and paid therefor. He also had in his possession the books and the seal of the corporation. But it is not contended that he ever attempted to execute notes, mortgages, or other written contracts for the corporation at any time prior to the execution of the notes and mortgage in controversy. The defendant corporation was indebted to the plaintiff bank in a considerable sum. And it appears that at a meeting of the directors of the bank held in July, 1914, the directors objected to the loan because it was not secured, and that R. C. Kittel (who was an officer of the plaintiff bank as well as vice president of the defendant corporation) then promised the bank directors that he would have the loan secured by a mortgage on the property described in the mortgage, *359and that he afterwards informed them that the promise had been fulfilled. On December 6, 1915, the bank failed and O. H. Anheier was appointed receiver. It was discovered that the indebtedness of the defendant corporation had not been secured. The bank directors thereupon called on Kittel, and demanded that he procure a mortgage from the defendant corporation in accordance with his former promise. A few hours later Correll, the treasurer of the defendant corporation, delivered the notes and mortgage in question to the receiver, Anheier, with the remark that the same were given in accordance with the previous understanding between Kittel and the directors. The mortgage purports to be executed and acknowledged by the Casselton Realty & Investment Company, by L. E. Correll, its treasurer. It bears date December 23, 1915, and was recorded in the office of the register of deeds of Cass county on December 27, 1915. The body of the certificate of acknowledgment upon the -mortgage is: “On this 23d day of December, a. d. 1915, before me personally appeared L. E. Correll, known to me to be the treasurer of the corporation that is described in and that executed the foregoing instrument, and he acknowledged to me that such corporation executed the same.”
The Casselton Realty & Investment Company had five directors. It is conceded that Correll was never authorized by resolution of the board of directors to execute the mortgage in controversy. In fact the only express authorization claimed is that Kittel, the vice president, told Correll to execute it. The evidence shows that the Casselton Realty & Investment Company had adopted a by-law to the effect that all conveyances of real estate or any interest therein, and all assignments and satisfactions of mortgages, or other liens on real property, should be executed by the president or vice president and attested by the secretary of the corporation.
The appellant contends: (1) That plaintiff’s mortgage is wholly invalid, and does not constitute a lien superior to the judgment held by the appellant; and (2) that even though the mortgage is enforceable as against the Casselton Realty & Investment Company, it was nevertheless not entitled to record; and such record did not impart notice to the appellant.-
Under our laws, the corporate powers, business, and property of *360§§ 5512 and 5513.” Comp. Laws 1913, §' 5548. “The certificate of conducted and controlled by the board of directors. Comp. Laws 1913, § 4541. Any foreign or domestic corporation in its by-laws may empower any one or more of its officers, severally or conjointly, to execute and acknowledge in its behalf conveyances, transfers, assignments, releases, satisfactions, or other instruments affecting liens upon, titles to, or interest in, real estate. Comp. Laws 1913, § 5512. But in the absence of any by-laws, the president or secretary of any corporation and the president, secretary, treasurer, or cashier of any loan, trust, or banking corporation may execute and acknowledge such instruments when authorized by resolution of the board of directors. Comp. Laws 1913, § 5513.
Section 5515, Comp. Laws 1913, provides: “The signature of a corporation to any instrument mentioned in § 5512 shall be as follows:
-; — (Null name of corporation.) By (some officer authorized by resolution or the by-laws of the corporation to execute and acknowledge such instrument) .
-(Official designation of person signing.) Attest:-
Secretary.”
(Seal.)
Section 5594, Comp. Laws 1913, provides: “Every conveyance by deed, mortgage, or otherwise, of real estate within this state, shall be recorded in the office of the register of deeds of the county where such real estate is situated, and every such conveyance not so recorded shall be void as against any subsequent purchaser in good faith, and for a valuable consideration, of the same real estate, or any part or portion thereof, whose conveyance, ... is first duly recorded; or as against any attachment levied thereon or any judgment lawfully obtained, at the suit of any party, against the person in whose name the title to such land appears of record, prior to the recording of such conveyance.” But before any such conveyance “can be recorded ... its execution must be acknowledged by the person executing the same, or, if executed by a corporation, by the person authorized to execute it by *361§§ 5512 and 5513.” Comp. Laws 1913, § 5548. “The certificate of acknowledgment of an instrument executed by a corporation must be substantially in the following form:—
State of— County of-
On this-day of-in the year-, before me (here insert name and quality of officer), personally appeared-known to me (or proved to me on the oath of-) to be the president (or the secretary) if the corporation that is described in and that executed the within instrument, and acknowledged to me that such corporation executed the same.” Comp. Laws 1913, § 5574.
'A corporation can act only through its representatives. Primarily, in the absence of provisions in the charter or by-laws of a corporation, the authority to mortgage the corporate real estate is vested in the board of directors. 7 R. C. L. p. 645; Comp. Laws 1913, § 4541. And neither the president nor the treasurer has such power by virtue of his office alone. Fletcher, Cyc. Corp. §§ 2048, 2091.
“The power of an officer or agent of a corporation to bind the corporation is governed by the general law of agency; the underlying principles are the same. The acts of corporate officers and agents are binding upon it only when done within the scope of their authority, •express or implied; the same rules apply as in the case of an agent for an individual. The mere consent of one of the officers of a corporation that another officer may do an act requiring special corporate authority, manifestly, does not constitute any legitimate basis for the doing of such act.” 7 R. C. L. pp. 620, 621.
Bearing these legal principles in mind, we approach the question presented in this case. Can it be said that the mortgage of the plaintiff was executed and acknowledged by a person authorized to do so, so as to constitute it the act of the corporation and entitle it to record as such under our laws ? We think not. The provisions of our statutes are specific, and the intent of the lawmakers, as there disclosed, must be enforced. In our opinion the mortgage was not entitled to be recorded. (That is in accord with the views of the supreme court of our sister state, South Dakota, in applying statutory provisions almost *362identical with those involved in this case. Erickson v. Conniff, 19 S. D. 41, 101 N. W. 1104. See also Duke v. Markham, 105 N. C. 131, 18 Am. St. Rep. 889, 10 S. E. 1017; Klemme v. McLay, 68 Iowa, 158, 26 N. W. 53; Bennett v. Knowles, 66 Minn. 4, 68 N. W. 111; Holt v. Metropolitan Trust Co. 11 S. D. 456, 78 N. W. 947.) This being so, the record thereof did not constitute notice to subsequent purchasers in good faith and for valuable consideration. Goss v. Herman, 20 N. D. 295, 127 N. W. 78. And by the plain words of the statute, a judgment creditor who lawfully obtains a judgment against the person in whose name title to land appears of record is regarded as “a purchaser in good faith and for a valuable consideration.” Comp. Laws 1913^ § 5594; Mott v. Holbrook, 28 N. D. 251, 264, 148 N. W. 1061; McCoy v. Davis, 38 N. D. 328, 164 N. W. 951.
In this case it is not necessary to determine whether the mortgage of the plaintiff is enforceable as against the defendant corporation. But it follows from what has been said that the judgment of the defendant Gilbert is a valid lien upon the land; and that the lien of plaintiff’s mortgage, if it constitutes a lien at all, is inferior and subject to the lien of the judgment.
The judgment appealed from is therefore reversed, and the cause is remanded, with directions that judgment be entered in conformity with the views expressed in this opinion.
Birdzell and Bronson, JJ., concur. Grace, J., concurs in the result.