The complaint in the above-entitled action contains, among other things, the following alleged facts, from which the conclusions of law incorporated in the statement of facts herein stated necessarily follow:
On April 25, 1910, the Thousand Springs Land & Transportation Company, Limited, a domestic corporation, being the owner and in rightful possession of 92.35 acres of land in Gooding county, Idaho, certain personal property, consisting of steel pipes, penstocks, timber, tools, etc., and certain filings and permits issued by the state engineer to the right to the use of water flowing out of certain springs, part of which are located on said land, entered into an agreement with one *739Arthur Ponsford, whereby Ponsford was given an option to purchase the same.
On April 30, 1910, Ponsford made a declaration of trust, in which he declared that he held said option in his name as trustee for various parties named therein as beneficiaries, whose respective interests and liabilities, in case they accepted the trust, were set out; that he became liable to forfeit a certain sum in case the option should not be exercised; that the beneficiaries named should become and constitute a committee known as the Thousand Springs Committee, for the purpose of organizing a corporation to acquire title to the property described in the option, said corporation to be known as the Thousand Springs Power Company; and that upon the organization of said corporation Ponsford was to transfer and convey to said corporation all of his right, title and interest under the option. This declaration of trust was signed by Ponsford and was also signed and accepted by the beneficiaries named therein.
On July 5, 1910, Ponsford and the 'beneficiaries named in the declaration of trust made an initial payment of $5,000 to the Thousand Springs Land & Transportation Company, in accordance with the option as modified, and on August 17, 1910, they entered into actual possession of the property described in the option.
On September 15, 1910, the Thousand Springs Power Company was incorporated under the laws of Arizona.
On October 20, 1910, Ponsford transferred to the Thousand Springs Power Company all his right, title and interest under the option, and the so-called Thousand Springs Committee, by Frank N. Bancroft, transferred to the Thousand Springs Power Company all of its right, title and interest in and to the declaration of trust.
On May 26, 1911, the Thousand Springs Power Company duly executed its power of attorney to Frank N. Bancroft, chairman of its organization committee, authorizing him to take the legal title, in his name for its use and benefit, of the property described in the option, and to execute notes and a mortgage to the Thousand Springs Land and Transportation *740Company in payment therefor, in accordance with the terms of the option as modified.
On June 1, 1911, the Thousand Springs Land and Transportation Company, Limited, pursuant to the terms of the option as modified, conveyed the legal title of the property to Bancroft, 'by deed, and Bancroft executed a declaration of trust, setting out that in pursuance of the power of attorney given him by the Thousand Springs Power Company he had received by conveyance by warranty deed the property of the Thousand Springs Land and Transportation Company, Limited; that he held the same in his own name and right in trust for the use and benefit of the Thousand Springs Power Company; and that under the terms of said option he had made payment of $7,500 and had executed and delivered certain notes and a mortgage to the Thousand Springs Land and Transportation Company.
On November 13, 1911, the Thousand Springs Power Company complied with the constitution and laws of this state relating to foreign corporations doing business in this state.
On December 16, 1911, Bancroft conveyed said property by deed to the Thousand Springs Power Company, so that on that date the Thousand Springs Power Company became the owner of the legal title to the property, as well as of all the right, title and interest acquired by Ponsford under the option and by the Thousand Springs Committee under Ponsford’s declaration of trust.
On June 21, 1911, appellant herein began his suit against the Thousand Springs Land and Transportation Company, Limited, and on June 30, 1913, after the Thousand Springs Power Company had fully complied with the constitution and laws of this state, and the legal title to the property described in the option had 'been, conveyed to Bancroft and by Bancroft to the Thousand Springs Power Company, and after Ponsford and the Thousand Springs Committee had transferred all _ of their right, title and interest in said property to the Thousand Springs Power Company, and the option given to Ponsford fully complied with, as modified, the ap*741pellant herein, recovered judgment against the Thousand Springs Land and Transportation Company for $19,985.30.
On or about January 27, 1912, the Thousand Springs Power Company by trust deed conveyed the property to the Salt Lake Security and Trust Company, as security for a certain bond issue; said latter company being a foreign corporation and never having complied with the constitution and laws of this state affecting foreign corporations.
On March 1, 1915, appellant brought his suit against the Thousand Springs Power Company, seeking to subject to the payment of said judgment the property upon which Ponsford had obtained his option of April 25, 1910, and which had been conveyed on June 1, 1911, by the Thousand Springs Land and Transportation Company, Limited, to Bancroft, and on December 16, 1911, by Bancroft to the Thousand Springs Power Company, upon the theory that said conveyances were void for the reason that the Thousand Springs Power Company, being a foreign corporation, had failed to file its articles of incorporation in this state, and to designate its agent, prior to the time that it, through its agents and trustees, took title for its use and benefit, to the property of the Thousand Springs Land and Transportation Company, Limited.
From the judgment of the district court of the fourth judicial district, sustaining the general demurrer to the complaint, plaintiff appeals, and for a reversal of the judgment makes the following assignments of error:
1. The court erred in sustaining defendant’s demurrer that said complaint did not state facts sufficient to constitute a cause of action.
2. The court erred in rendering its judgment in favor of defendants and against plaintiff in dismissing said action.
3. The court erred in entering judgment in favor of defendants, Thousand Springs Power Company, Salt Lake Security and Trust Company, and Frank N. Bancroft.
Appellant urges that the Thousand Springs Power Company and the Salt Lake Security and Trust Company, not having complied with sec. 10 of art. 11 of the constitution *742of this state, and see. 2792, Rev. Codes, as amended by chap. 124, p. 270, Sess. Laws 1915, the deeds and conveyances to said corporations are therefore absolutely null aud void, and that the conveyance of the property to Bancroft by whom the same was held in trust for the Thousand Springs Power Company was void, for the reason that said company could not do indirectly what it was prohibited from doing directly, namely, the taking of title to property in this state in the name of its trustee prior to a compliance with the constitution and laws of this state affecting foreign corporations.
On the other hand, respondents urge that Ponsford’s option was valid, and even should it 'be admitted that the deeds and conveyances to said company were void, the option given to Ponsford would still subsist as a bar to appellant’s right to recover against said property; that sec. 2792, Rev. Codes, supra, as amended, while providing that no foreign corporation can take or hold title to any realty in this state without having first complied with the constitution and laws of this state affecting foreign corporations, does not provide that conveyances made to a trustee for the use. and benefit of such foreign corporations are void; that the act clearly distinguishes between contracts made in the name of or for the use or 'benefit of foreign corporations, and deeds and conveyances made to corporations; that the purpose of the act was not to bar foreign corporations from preparing to engage in business in this state, but to protect citizens of this state, and that the purpose of the statute was satisfied by preventing foreign corporations from holding legal title to land in this state while engaged in business in the state; that sec. 2792, Rev. Codes, supra, as amended, is penal, and must be strictly construed; that said section applies only to corporations actually engaged in business in the state of Idaho at the time of taking or holding title; that the case of Keating v. Keating Min. Co., 18 Ida. 660, 112 Pac. 206, establishes the right of a trustee to hold title for a foreign corporation which has not complied with the Idaho law; that the decision in that case became a rule of property upon which respondents were entitled to rely.
*743Section 10 of article 11 of tbe constitution of the state of Idaho provides that:
“No foreign corporation shall do any 'business in this state without having one or more known places of business, and, an authorized agent or agents in the same, upon whom process may be served, and no company or corporation formed under the laws of any other country, state or territory, shall have or be allowed to exercise or enjoy within this state any greater rights or privileges than those possessed or enjoyed by corporations of the same or similar character created under the laws of this state.”
Section 2792, Rev. Codes, as amended 'by chap. 124, p. 270, Sess. Laws 1915, among other things, provides that:
“No contract or agreement made in the name of, or for the use or benefit of, such corporation prior to the making of such filings as first herein provided, can be sued upon or enforced in any court of this state by such corporation. Such corporation cannot take or hold title to any realty within this state prior to making such filings, and any pretended deed or conveyance of real estate to such corporation prior to such filings shall be absolutely null and void.”
No question is made of the validity of the above constitutional and statutory provisions, and it may be assumed, for the purposes.of this case, that the Thousand Springs Power Company and the Salt Lake Security and Trust Company had no right to take or hold title in their corporate names to any realty within the state of Idaho prior to a compliance by them with sec. 10 of art. 11 of the constitution of the state of Idaho and sec. 2792, Rev. Codes, supra, as amended, and that any pretended conveyance of such title to said corporations would be void. It is manifest that the legislature intended that no title should pass under a conveyance to a foreign corporation purchasing real estate and engaging in business in this state 'before it acquired the right to do so by a compliance with the constitution and statutes of this state. (Dickens-West Min. Co. v. Crescent Mining & Milling Co., 26 Ida. 153, 141 Pac. 566.)
*744It is well settled that a corporation can, by its agents, go into another state than that by which it was created, and make any contract, or take any conveyance, that is within the powers conferred upon it by its charter, provided the state in which the contract or conveyance is made has not prohibited such a transaction and the transaction is not contrary to the policy of its laws. (Kennebec Co. v. Augusta Ins. & Banking Co., 6 Gray (72 Mass.), 204; Hutchins v. New England Coal Min. Co., 4 Allen (86 Mass.), 580; Wright v. Lee, 2 S. D. 596, 51 N. W. 706; Reichwald v. Commercial Hotel Co., 106 Ill. 439; Santa Clara Female Academy v. Sullivan, 116 Ill. 375, 56 Am. Rep. 776, 6 N. E. 183; Bard v. Poole, 12 N. Y. 495; Merrick v. Van Santvoord, 34 N. Y. 208; Lancaster v. Amsterdam Imp. Co., 140 N. Y. 576, 35 N. E. 964, 24 L. R. A. 322, and note; note in 94 Am. Dec. 383.)
The right of foreign corporations to take or hold title to realty in this state depends upon their compliance with see. 10 ■ of art. 11 of the constitution and see. 2792, Rev. Codes, supra, as amended, and upon compliance therewith foreign corporations are not prohibited from purchasing and holding real estate to the same extent as domestic corporations.
See. 2792, Rev. Codes, supra, as amended, contains the following provisions regarding contracts of and conveyances to foreign corporations which have not complied with the terms of that section:
First. Contracts made in the name of such corporations cannot be enforced by such corporations in any court of this state.
Second. Contracts made for the use or benefit of such corporations cannot be enforced by such corporations in any court of this state. (Katz v. Herrick, 12 Ida. 1, 86 Pac. 873 ; Valley Lumber & Mfg. Co. v. Driessel, 13 Ida. 662, 13 Ann. Cas. 63, 93 Pac. 765, 15 L. R. A., N. S., 299; Dickens-West Min. Co. v. Crescent Mining & Milling Co., 26 Ida. 153, 141 Pac. 566; Pennsylvania-Coeur d’Alene Min. Co. v. Gallagher, 19 Ida. 101, 112 Pac. 1044.)
Third. Foreign corporations cannot take or hold title to any realty within this state prior to making such filings, *745and any pretended deed or conveyance of real estate to such corporations prior to such filings shall 'be absolutely null and void.
The penalty that the legislature intended to impose upon a foreign corporation for its failure to comply with the constitution and statutes of this state regulating foreign corporations was to withhold the right to enforce contracts made in its name or for its use or benefit, and to acquire and hold in its name legal title to realty within this state, -but it is clear from a careful reading of sec. 10 of art. 11 of the constitution and sec. 2792, su-pra, as amended, that a conveyance made to a trustee for the use and benefit of a foreign corporation is not prohibited, and that such a conveyance is not in violation of the constitution or statutes of this state.
It is a rule of statutory construction that general language in a statute will be limited to such persons and subjects as it is reasonable to presume the legislature intended it to apply to. The legislature provided, in sec. 2792, supra, as amended, that foreign corporations cannot take or hold title to any realty within this state prior to making such filings, and any pretended deed or conveyance of real estate to any such corporation, prior to such filings, shall be absolutely null and void, and we are not permitted to add thereto, and as a part thereof, that conveyances made to a trustee for the use and benefit of such foreign corporations, in the absence of fraud, shall be absolutely null and void. (Keating v. Keating, Min. Co., 18 Ida. 660, 112 Pac. 206.)
It is quite evident that such contracts as those which were entered into by the Thousand Springs Power Company with Bancroft, Ponsford and the Thousand Springs Committee, cannot be enforced by such noneomplying foreign corporation in any court in this state. Such was the penalty prescribed 'by the legislature, in unambiguous terms, to be imposed upon a foreign corporation which should fail to comply with the constitution and laws of this state. It is not, however, for the judiciary, at the instance or for the benefit of private parties, to inflict the additional and harsh .penalty of declaring void all conveyances made to a trustee for the *746use and benefit of a foreign corporation failing for the time being to comply with the constitution and laws of this state prior to actually engaging in business.
If the legislature had intended that conveyances made to a trustee for the use and 'benefit of a foreign corporation should be null and void, or that no trustee should take or hold title to any realty for the use or benefit of a foreign corporation not complying with the constitution and laws of this state, that intention should have been clearly expressed in the act. (Fritts v. Palmer, 132 U. S. 282, 10 Sup. Ct. 93, 33 L. ed. 317; Lamkin v. Sterling, 1 Ida. 92; Chandler v. Lee, 1 Ida. 349; People v. Owyhee Min. Co., 1 Ida. 409; Holmberg v. Jones, 7 Ida. 752, 65 Pac. 563; Empire Copper Co. v. Henderson, 15 Ida. 635, 99 Pac. 127; In re Bossner, 18 Ida. 519, 110 Pac. 502; Parsons v. Wrble, 21 Ida. 695, 123 Pac. 638; Swain v. Fritchman, 21 Ida. 783, 125 Pac. 319.)
Were we, however, to grant the correctness of appellant’s contention that the assignments by Ponsford and the Thousand Springs Committee to the Thousand Springs Power Company, and the conveyances by the Thousand Springs Land and Transportation Company to Bancroft, by Bancroft to the Thousand Springs Power Company, and by the latter company to the Salt Lake Securities and Trust Company, were all void, nevertheless the appellant is not in position to raise that question to his advantage in this proceeding, for the reason that the option given to Ponsford by the Thousand Springs Land and Transportation Company, Limited, was a conveyance to Ponsford of an equitable interest in all of the property which the appellant herein seeks to subject to his judgment, and a compliance with said option by Ponsford or his associates would vest the equitable title to the property in Ponsford, as of the date of the option, Ponsford having been at no time under legal disability to take title. Acceptance within the time specified of an option to 'purchase land and compliance with the conditions, if any, changes the option into a contract of sale, binding upon both parties, and entitles the grantee to call for performance, as of the date of the giving of the option, so as to cut off intervening rights *747acquired with knowledge of the existence of the option (Smith v. Bangham, 156 Cal. 359, 104 Pac. 689, 28 L. R. A., N. S., 522; Boyden v. Hill, 198 Mass. 477, 85 N. E. 413; Jones v. Barnes, 105 App. Div. 287, 94 N. Y. Supp. 695; House v. Jackson, 24 Or. 89, 32 Pac. 1027; Johnston v. Trippe, 33 Fed. 530), and possession of the property by the optionee would give notice of the option. It has been held that acceptance of an option takes effect from the date of such acceptance, but the great weight of authority is that acceptance takes effect from the date of the option. (Smith v. Bangham, supra; Kerr v. Day, 14 Pa. St. 112, 53 Am. Dec. 526; Barrett v. McAllister, 33 W. Va. 738, 11 S. E. 220; Sizer v. Clark, 116 Wis. 534, 93 N. W. 539; Telford v. Frost, 76 Wis. 172, 44 N. W. 835; Donnally v. Parker, 5 W. Va. 301.)
A memorandum reading, “Beceived of A, $5 as part payment on lots 1 and 2 ... . conditions as follows, $2,495 to be paid March 20, and balance of $1,500 to run on time, .... ” with agreement to furnish warranty deed on payment of $2,495, is not an option merely, but is a contract of sale which may be enforced by the 'buyer until his rights have been terminated by tender of performance by the seller. (Langert v. Ross, 24 Pac. 443, 1 Wash. St. 250.)
Where a purchaser under a contract for the sale of realty has performed or offered to perform his covenants at the date provided for a conveyance, equity considers the property as belonging to him as of that date, and that the owner is a mere holder of the legal title in trust for him. (In re Dwyer’s Estate, 159 Cal. 664, 115 Pac. 235.)
Where real estate is sold under a valid contract, the purchase money to be paid in part and the deed executed at a future day, the equitable title passes at once to the vendee, and equity treats the vendor as a trustee for the purchaser of the estate sold, and the purchaser as a trustee of the purchase money for the vendor, since equity treats things agreed to 'be done as done. (Dunn v. Yakish, 10 Okl. 388, 61 Pac. 926.) Where real estate is agreed to be conveyed by an executory contract of sale without reservation, the equitable title passes at once to the vendee (Speicher v. Lacy, 28 Okl. *748541, 115 Pac. 271, 35 L. R. A., N. S., 1066), and where a party holding a contract of purchase has, by performance on his part, placed himself in a position to compel specific performance, he holds the equitable title. (Smith v. Jones, 21 Utah, 270, 60 Pac. 1104.)
It will be observed that this option was given to Ponsford and the initial payment of $5,000 was made by Ponsford and his associates, and they went into possession of the property some considerable time prior to the organization of the Thous- and Springs Power Company.
In other words, if the title to the propérty of the Thousand Springs Land and Transportation Company did not pass to Bancroft by reason of the fact that Bancroft was the trustee •of the Thousand Springs Power Company, a foreign corporation which had failed to comply with the constitution and statutes of this state governing foreign corporations, the equitable title did pass to Ponsford upon payment by Ponsford and his assignees to the Thousand Springs Land and Transportation Company of the full consideration due them under the terms of the option.
Let us assume that the Thousand Springs Power Company, having failed to comply with the constitution and laws of this state affecting foreign corporations, at the time Ponsford assigned to it his option from the Thousand Springs Land and Transportation Company, and at the time the Thousand Springs Committee assigned to it their interest under the option, was under legal disability and received no title, either legal or equitable, in and to said property, although it made a voluntary payment, through its trustee Bancroft to the Thousand Springs Land and Transportation Company, of the remainder of the purchase price under the terms of the option, and thereby complied with all of the terms and conditions of the option not having theretofore been complied with by Ponsford and his associates. Can it then be contended in equity that such a voluntary payment would defeat the prior transfer of the equitable title from the Thousand Springs Land and Transportation Company to Ponsford, and leave both the legal and equitable *749title in the Thousand Springs Land and Transportation Company, when said company had received the full consideration due it under the terms of the Ponsford option! "We think not. Although there are some early authorities to the contrary, it is now well settled that payment of a debt by a stranger, although without the debtor’s request, if accepted as such by the creditor, discharges the debt so far as the creditor is concerned. (Martin v. Quinn, 37 Cal. 55; Phelps v. Beebe, 71 Mich. 554, 39 N. W. 761; Bradley v. Lehigh Valley R. Co., 153 Fed. 350, 82 C. C. A. 426; Reynolds v. Crawfordsville First Nat. Bank, 112 U. S. 405, 5 Sup. Ct. 213, 28 L. ed. 733; 30 Cyc. 1221.) Upon payment to the Thousand Springs Land and Transportation Company of the full consideration under the terms of the option, whether made in part or in full by Ponsford or by Ponsford’s assignee, said company became divested of the equitable title in and to said property, and Ponsford, being at no time disqualified under the constitution and laws of this state to receive title to said property, the same would vest in him as of the date of the option. By whom the payments under the option were made would be immaterial so long as they were made, and inasmuch as Ponsford made no legal or valid transfer of his option, he did not divest himself of the equitable title.
Even if it 'be conceded that Bancroft, as trustee of the Thousand Springs Power Company, could not take the legal title to this property from the Thousand Springs Land and Transportation Company, Limited, on June 1, 1911, such concession could not avail appellant under the facts of this case. For on that date the latter corporation, having received •full consideration from Bancroft under the option agreement entered into with Ponsford, parted with the last vestige of its title to Bancroft. The legal title must then have vested in Bancroft in some capacity. If appellant’s contention be correct that Bancroft could not take the title as trustee for the Thousand Springs Power Company, it must be presumed that he took it in his individual capacity or as trustee for Ponsford. But in either case the legal title to this property *750was upon June 1, 1911, wholly divested from the Thousand Springs Land and Transportation Company, whatever the respective interests accruing to Bancroft and Ponsford might be considered to be. And it was not until June 21, 1911, that appellant began his action wherein he seeks to make his judgment lien attach to this specific property.
In the absence of fraud, the lien of a judgment creditor can attach only to the precise interest which the judgment debtor had in the land at the date of the entry of the judgment, and the lien cannot be made effectual to bind or to convey any greater or other estate than the debtor himself, in the exercise, of his rights, could voluntarily have transferred or alienated. (23 Cye. 1368; Holden v. Garrett, 23 Kan. 98; Millard v. McMullin, 68 N. Y. 345; Hulshoff v. Bowman, 10 Ohio C. D. 343, 19 Ohio C. C. 554; Baker v. Morton, 12 Wall. (79 U. S.) 150, 20 L. ed. 262; Brown v. Clarke, 4 How. (45 U. S.) 4, 11 L. ed. 850; In re Estes, 3 Fed. 134, 6 Sawy. 459.)
A vendor who has sold and conveyed real estate to a noncomplying foreign corporation and received the purchase price therefor cannot question the right of the corporation to hold the property (Keating v. Keating Min. Co., 18 Ida. 660, 112 Pac. 206; Katz v. Herrick, 12 Ida. 1, 86 Pac. 873), but the right to question the validity of such a conveyance is not, in this jurisdiction, limited to the state. In the latter case this court said (12 Ida. 30, 86 Pac. 873): “The right to take and hold title to real property is one that can neither legally nor equitably concern the vendor thereof after he has parted with his title and received the purchase price therefor. ’ ’
One who has sold, received payment for, and conveyed land-to a corporation cannot sue to rescind the conveyance- on the ground that the corporation had no power to purchase and hold the land. (Long v. Georgia Pac. R. Co., 91 Ala. 519, 24 Am. St. 931, 8 So. 706; Holmes & Griggs Mfg. Co. v. Holmes & Wessell Metal Co., 127 N. Y. 252, 24 Am. St. 448, 27 N. E. 831.)
*751Ponsford’s option was obtained April 25, 1910; the option was exercised July 5, 1910, and $5,000 was paid on the purchase price to the Thousand Springs Land and Transportation Company by Ponsford and his associates; the legal title was conveyed to Bancroft by said company on June 1, 1911, at which time he (Bancroft) paid the Thousand Springs Land and Transportation Company $7,150 in cash and 285 shares of common stock of the Thousand Springs Power Company, and gave notes for $85,000 dated June 1, 1911, payable on or before June 1, 1921, with interest at 6 per cent per annum; and on the same day Bancroft declared that he held title to the property for the benefit of the Thousand Springs Power Company. Appellant began his action against the Thousand Springs Land and Transportation Company on June 21, 1911, and recovered judgment against said company on June 30, 1913, two years and twenty-nine days after the legal title to the property sought to be subject to the payment of appellant’s judgment had been conveyed to the Thousand Springs Power Company, upon payment of the full purchase price therefor. Appellant’s judgment, therefore, does not, in our opinion, constitute a lien upon the property, which had been conveyed away prior to the rendition or entry of the judgment.
Under the facts in this case, the Thousand Springs Land and Transportation Company, having sold and parted with the title to all of the property described in the option given to Ponsford and received the purchase price agreed to be paid therefor in full, cannot raise the question that the Thousand Springs Power Company,.by reason of its failure to comply with the constitution and laws of this state, could not take or hold title to real estate within this state; and the appellant, as judgment creditor of the Thousand Springs Land and Transportation Company, is in no better position than his judgment debtor, in the absence of fraud on the part of the Thousand Springs Power Company in acquiring title to said property, and therefore cannot successfully subject said property to the payment of his judgment.
*752From what has been said it follows that the trial court did not err in sustaining the demurrer of the respondents to appellant’s complaint. Its judgment must be affirmed, and it is so ordered. Costs are awarded in favor of respondents.
Sullivan, C. J., concurs.