of tlie land at the time a contract is made become a part of it and must be read into it.
“All contracts are formed to be construed in the light of the rules and principles of law applicable to the subject-matter of the transaction, and those rules and principles control the rights of the parties; the laws upon the subject of a contract are read into it and become a part thereof to the same extent as though they were written into its terms. Where parties enter into a contract by virtue of authority derived from a certain act and in view of such rights as are created, defined and conferred by such act, it is elemental that the rights of the parties must be construed by the provisions of the act.
“Where a contract is entered into under such provisions and conditions, and such contract is alleged to have been breached while such act is still in force, then if any provision or terms contained in such contract are in violation of rights conferred by such act, which are remedied by a subsequent act, such subsequent act is void as to such provisions and violative of section 15, art. 2 (Bill of Rights) of the Constitution, as tending to violate the obligation of contracts”
—is applicable to the situation here presented. Not only certificates of shares held by such- testator, but also the law pursuant to which they were issued and de’ivered, became a part thereof and remained effective conditions of said contract until the same had been fully performed or discharged in accordance with its terms or the mutual agreement of the parties.
“Statutory provisions, which have been repealed or superseded, may be looked to as an aid in the construction of amendatory acts in pari materia.”
Therefore, applying the rule announced in the above case to the pertinent provision of' section 5377, supra, and that portion of chapter -54, S. L. 1033, which amends previous statute, it is apparent that the Legislature recognized the fact that said section 5377, supra, conferred certain definite rights upon the stockholders of building and loan associations, and that it desired to change, modify, limit, and restrict such right materially, and that in passing chapter 54, g. L. 1933, it took away the prior absolute right granted by the provisions of section 5377, supra, wherein it provided:
“Upon the death of a stockholder, his legal representative shall be entitled to receive the full amount paid in by him and legal interest thereon, first deducting all charges that may be due on the stock”
—so that it provided thereafter as follows:
“Upon the death of a stockholder his legal representative shall be entitled to receive the amount paid in by such deceased stockholder and such proportion of the profits as the bylaws may determine less all .fines ¡and other charges and less a proportionate share of any loss sustained by such association.”
Thus by this amendment the Legislature established an entirely new and different contract between building and loan associations and their stockholders. The amenda-tory act (chapter 54, g. L. 1933) therefore effectively and materially impaired the obligation of the contract entered into between the defendant and the plaintiff’s testator and destroyed his vested right in contravention of section 15, art. 2, of the Constitution of Oklahoma and section 10, art. 1, Constitution of the United gtates, and section 1 of Amendment 14 of the Constitution of the United gtates.
“Under section 10, art. 1, of the Constitution of the United States, and section 16, art. 2, of the state Constitution, the Legislature was prohibited from impairing the obligation of a contract made pursuant to existing provisions of law by a repeal of the provisions of law under which said contract was entered into.”
For the reasons above set out, the trial court committed error in sustaining the demurrer to the plaintiff’s petition.
The defendant urges, however, that since it is a building and loan association, it is peculiarly subject to legislative supervision and control under the police power reserved to the state, and that therefore it may not make contracts which cannot be abrogated by the state in the exercise of its reserve police power. In support of this contention our attention has been directed to an imposing array of authorities, notably among them being the cases of Rocker v. Cardinal Bldg. & Loan Ass’n (N. J.) 179 Atl. 667; Hopkins Fed. gavings & Loan Ass’n v. Cleary, 296 U. S. 315, 56 Sup. Ct. 235, 80 L. Ed. 251, 100 A. L. R. 1403; Treigle v. Acme Homestead Ass’n, 181 La. 941, 160 So. 637, 98 A. L. R. 09; and other cases involving the same questions of law and fact from the same jurisdiction.
The ease of Treigle v. Acme Homestead Ass’n, supra, with its companion cases, was appealed to the gupreme Court of the United gtates and in an opinion by that court rendered on February 3, 1936, the judgment and