Montana-Dakota Utilities Company (hereinafter MDU) has appealed from a *727summary judgment dismissing its complaint against the defendant Burke-Divide Rural Electric Cooperative, a corporation (hereinafter REC).
MDU commenced this action to enjoin Divide County School District No. 1 (hereinafter school district) and the members of its governing board, and the REC, from doing business pursuant to an electric power contract to supply the new high school, located within the city of Crosby, with electrical energy.
MDU is a public utility which has been providing central station service to the city of Crosby and its inhabitants under a franchise granted to it by said city on May 6, 1957, which franchise is to run for a term of twenty years. The franchise authorizes MDU to operate an electric distribution system in the city of Crosby “for all public and private purposes” within the geographical area of the city “as now, or hereafter constituted.” The REC renders electric service in the rural area outside Crosby. The school district comprises a geographical area which includes the city of Crosby and an additional rural area.
On August 29, 1966, the REC, pursuant to the terms of a contract entered into on August 16, 1966, with the school district, erected a yard light in an open field approximately ten feet outside of the then existing city limits. The school district is the owner of the land upon which the yard light was located and also owns contiguous land within the city of Crosby. The school district was in the planning stages for using these lands for the purpose of constructing a new high school building thereon.
The city of Crosby adopted Ordinance No. 220 on September 7, 1966. This ordinance prohibits the construction, operation or maintenance of any electric facilities, or the selling, directly or indirectly, of electricity within the corporate limits of the city without a franchise. The franchise which the city had granted to MDU provides that it shall not be construed to prevent the city of Crosby from granting to any other party the right to use the streets, alleys and public grounds for like purposes and, therefore, it is nonexclusive.
On October 2, 1967, the city of Crosby annexed the land belonging to the school district upon which the yard light was located.
On February 2, 1970, the REC applied to the city of Crosby for a limited franchise to serve the area within the city of Crosby upon which the new high school building was to be constructed. The application was tabled by the city governing board. Subsequently, on May 4, 1970, the REC made a second application for a limited franchise, which was denied by the governing body of the city of Crosby. However, approximately ten days before the denial of the application for a limited franchise, the REC executed a service contract with the school district to provide electrical energy for the new high school which was going to be built. On June 1, 1970, the REC executed a separate electrical service contract with the contractor who had been engaged by the school district to construct the new high school building. Subsequently, and after the final site had been chosen, the school district commenced construction of the new Crosby high school. The site selected encompassed an area which was partially within the boundary of the city of Crosby, as it existed prior to the annexation, and partially upon land which had been annexed. The new high school building was constructed and electrical energy is1 being supplied to it by the REC under the contract made in May 1970.
By this action MDU seeks to enjoin the school district and the REC from carrying out the terms of the power contract entered into between them for the servicing of the new high school building, claiming that the franchise from the city of Crosby constitutes a property right and that the furnishing and sale of electricity by the REC within the corporate limits of the city of Crosby, without a limited franchise, is illegal and will cause MDU irreparable injury and damage.
*728Under its franchise MDU is required to maintain an efficient distribution system for furnishing electric energy for public and private use during twenty-four hours of each day (Section III of franchise) and, for that purpose, is granted the right and franchise to occupy and use the streets, alleys and public grounds of the municipality “as now, or hereafter constituted” (Section II of franchise), except that the franchise is not exclusive and shall not be construed to prevent the city of Crosby from granting to any other party the right to use the streets, alleys and public grounds for like purposes (Section IV of franchise). Although the city of Crosby retains the right to grant limited franchises, it has declined to do so. For all practical purposes, MDU’s franchise, as it now stands, is exclusive, subject, however, to future decisions of the governing body of the city of Crosby.
By its answer the REC admits that it does not have a franchise from the city of Crosby, but alleges that it has the right to construct or operate electric facilities or a distribution system within the corporate limits and to sell and dispose of electricity therein under the laws of the State of North Dakota. It also alleges that its facilities were first established upon the present location on August 29, 1966, by the erection and energizing of the yard light, and that it has been doing business in the nature of providing electrical service and energy to the school district since that time; that the subsequent annexation of the area upon which such service was being rendered does not deprive it of its vested right to continue to serve the school district as the city of Crosby is considered “rural” under the statutes and is, therefore, not an area reserved exclusively as a market for MDU. It also alleges that rejection of its application for a limited franchise by the governing body of the city of Crosby is a discriminatory enforcement of the ordinance contrary to the spirit and intent of the statutes, and that Ordinance No. 220 is not valid, as it applies to the REC, because its effect would be to deprive the REC of its property without due process of law. It also claims that it can continue to serve the school district without crossing streets, alleys or public lands. It raises another defense by which it claims that the school district is a distinct and separate public entity, an agency of the state, which has authority to select its supplier of electrical energy without regard to the dictates of the city. Lastly, it alleges that the power contract which it entered into with the school district to serve the new high school building is merely in the nature of a renewal of the contract to furnish electrical energy to the yard light.
Chapter 10-13, N.D.C.C., provides for the formation, powers and duties of electric cooperative corporations. The REC was formed under this Act. Section 10-13-01 (1), N.D.C.C., provides that a cooperative may be “organized and operated” [emphasis added] as an electric cooperative for the purpose of engaging in rural electrification by furnishing electric energy to “persons in rural areas who are not receiving central station service.” Section 10-13-04, N.D.C.C., provides that all persons “who are not receiving central station service and who reside in rural areas proposed to be served by a co-operative organized under this chapter, shall be eligible to membership in the co-operative.” This section defines a rural area as :
“ * * * any area not included within the boundaries of an incorporated or unincorporated city or village having a population in excess of twenty-five hundred inhabitants at the time a corporation or co-operative commences to operate electric facilities or to furnish electric energy in such an area, and includes both the farm and nonfarm population thereof; * *
This section also prohibits persons, other than incorporators, from becoming members of a cooperative unless such persons shall agree to use “electrical energy or the facilities, supplies, equipment, and services furnished by a co-operative.” Section 10-13-03(1), N.D.C.C., provides that an elec-*729trie cooperative is empowered to transmit, distribute, sell, furnish and dispose of electrical energy “to its members, and to other persons not in excess of ten per cent of the number of its members.” It is not shown in these proceedings whether the school district is or is not a member of the REC. However, we believe this question to be unimportant.
The city of Crosby qualifies as a rural area because it has a population of less than twenty-five hundred inhabitants. However, Section 10-13-01, N.D.C.C., qualifies or limits the rural areas which an electric cooperative may be “organized and operated” to serve. It may not be “organized and operated” to serve a rural area in which persons are receiving central station service. Thus an electric cooperative corporation could not be “organized and operated” to serve the city of Crosby. The question here is whether a rural area which was not being served with central station service and which was annexed to a rural area (city of Crosby) which was receiving central station service retains its status as being qualified for electric cooperative corporation service, or does its status change to that of a rural area receiving central station service.
The statutes providing for annexation of territory to cities were in existence long before the Electric Co-operative Corporations Act was enacted. When this Act was enacted, there were many cities and villages which were receiving central station service from public utility companies under a franchise arrangement. There were also many cities and villages which were furnishing their own electrical energy through city-owned electric plants. No claim has been made that electric cooperatives have an exclusive right to serve all rural areas. It is clear that the purpose for which an electric cooperative corporation may be formed is to serve persons in rural areas who are not receiving central station service.
When territory is annexed to a city the annexed territory becomes a part of the city and all ordinances are immediately in effect governing the annexed territory. Likewise, the powers of the city, which are provided by the statutes, are extended to the annexed territory. The annexed territory is as much a part of the city as the original townsite, when it becomes “a part thereof.” Section 40-51.1-01, N.D.C.C. Most cities have grown since original incorporation and have annexed territory from time to time as the city grew. The annexation to a city of territory which had previously been without the city is an act of the state and such territory thereafter stands just as any other property within the city. 56 Am.Jur.2d, Municipal Corporations, Section 56.
Under the power provided by statute, the city of Crosby passed Ordinance No. 220. This ordinance prohibits any electrical supplier to furnish electricity to the inhabitants of the city of Crosby without first obtaining a franchise. The persons within the city of Crosby are receiving central station service under a nonexclusive franchise, under which franchise the central station service stands ready to extend its service to the annexed territory. The city twice has declined to issue a limited franchise to the REC.
As previously stated, an electric cooperative corporation may be organized and operated for the limited object or purpose of “furnishing of electric energy to persons in rural areas who are not receiving central station service.” Section 10-13-01(1), N.D.C.C. The object or purpose for which all electric cooperative corporations may be formed, under the statutes, remains the same after their organization, in the absence of a change in the statutes. The statutes under which an electric cooperative corporation is organized become a part of its articles of incorporation. 18 Am.Jur.2d, Corporations, Section 81. There has been no change in the statutes; thus the limitation of the object or pur*730pose for which it was organized and the power to carry out its objectives remain the same. However, the characterization of the area which the electric cooperative corporation serves may change from one in which the inhabitants are “not receiving central station service” to one in which the inhabitants are receiving central station service. The authority and power of a city or village, qualifying as a rural area under the Electric Co-operative Corporations Act, to annex territory has not been limited by the Electric Co-operative Corporations Act. Where a city receiving central station service annexes territory which is being served by an electric cooperative corporation, persons within the annexed area become persons who are receiving central station service and, under the charter of the electric cooperative formed under the Act, these persons no longer qualify for membership in the electric cooperative corporation for the purpose of receiving electric service to their facilities located within the city.
The Electric Co-operative Corporations Act allows an electric cooperative to serve, in addition to its membership, an additional number of persons not in excess of ten per cent of the number of its members. Section 10-13-03(1), N.D.C.C. However, where any such person resides within or seeks service for facilities within a city defined as a rural area which is receiving central station service, such person cannot be served within the corporate limits, in the absence of a franchise, where such city has in existence an ordinance prohibiting such service in the absence of a franchise.
The foregoing explanation is the clear intent of the law. An electric cooperative corporation formed under Chapter 10-13, N.D.C.C., is not subject to the control of the public service commission. Section 49-02-01.1, N.D.C.C. It is granted the power, under the statutes, to serve all persons defined in the Act. When it incorporates it does so subject to the limitations contained in the Act, and if a person whom it is serving is no longer qualified to receive that service, then said service, under the powers which it received from the state under the Electric Co-operative Corporations Act to serve such person, also ceases. Nowhere does the Electric Co-operative Corporations Act amend the statutes on annexation, nor does the Act amend the power of cities to serve their inhabitants with electric energy or to grant a franchise for the purpose of providing such service. The change of status of the persons served in no way affects the powers granted to the electric cooperative corporation. Its powers remain the same. Any contract which it makes with a person whom it serves is subject to the law as it existed at the time of contracting. It forms a part of the contract the same as if it were expressly incorporated therein. Permann v. Knife River Coal Mining Co., 180 N.W. 2d 146 (N.D.1970); Giese v. Engelhardt, 175 N.W.2d 578 (N.D.1970); Schue v. Jacoby, 162 N.W.2d 377 (N.D.1968); Lillethun v. Tri-County Electric Cooperative, Inc., 152 N.W.2d 147 (N.D.1967); State ex rel. Cleveringa v. Klein, 63 N.D. 514, 249 N.W. 118, 86 A.L.R. 1523 (1933); 17 Am.Jur.2d, Contracts, Section 257.
Therefore the right of the REC, under its contract, to furnish electric energy to the yard light was vested only until such time as the area upon which the yard light was located became annexed to the city of Crosby, at which time the contract to furnish electric energy terminated by operation of the law in effect when the contract was entered into. There is no violation of due process here, nor does the fact that the REC can serve without crossing any streets, alleys or public grounds within the city have any bearing on the issue before us on this appeal. Section 10-13-01(1), N.D.C.C., refers to areas in which persons are not receiving central station service. Such areas are not required to be bounded by streets, alleys or public grounds.
The REC also argues that the action of the governing body of the city of *731Crosby in rejecting REC’s two applications for a limited franchise to serve the annexed territory was a discriminatory, arbitrary and capricious enforcement of the ordinance, contrary to the spirit and intent of the statutes. Neither the city nor its governing body are parties to this action and we do not know on what basis the applications were rejected. The governing body of the city of Crosby has certain discretionary powers in making these decisions and we are not advised of its reasons for the decisions. However, inasmuch as they are not parties, we cannot rule on this question in this action.
The REC also raises the defense that the school district is a distinct and separate public entity, an agency of the state, which has authority to select its supplier of electrical energy without regard to the dictates of the city. The school district is a defendant in the main action. However, it is not a party to these summary judgment proceedings, nor does it appear from the record certified to us on this appeal that it has answered the complaint. Inasmuch as it is not a party to the summary judgment proceedings the clerk of the district court may not have included the record or papers filed by the school district in the certificate on appeal from the summary judgment. Therefore we are in no position to know what defense, if any, the school district has pleaded, or whether it permitted the matter to go by default. The defense of the REC that the school district is an agency of the state with authority to select its own supplier of electricity for its facilities within the city is logically an issue between the school district and the city. We feel that this issue is not properly before us and any decision we may render on this question, under the circumstances, does not bind the school district or the city. However, to dispose of the issue raised by the REC, we will briefly set forth its argument and our analysis of its argument.
The REC argues that the school district has a constitutional origin (Section 148, North Dakota Constitution), and that the school district’s officers, pursuant to Section 15-29-08(1) and (2), N.D.C.C. (in effect when this case was tried), were empowered :
“1. To establish a system of public schools which shall be free to all children of legal school age residing within such district and which shall furnish school privileges equally and equitably to all pupils in the district. * * *
“2. To organize, establish and maintain such schools in said district as it may deem requisite and expedient, including high schools, and to change and discontinue the same; to acquire sites, construct buildings, and operate schools, to discontinue such schools and liquidate the assets thereof. With the approval of the state board of public school education, the board may acquire sites, construct buildings and operate schools outside its district boundaries, and discontinue such schools and liquidate the assets thereof.”
It argues that the school district is an instrumentality of the state and must be allowed to carry out its functions on behalf of the state and its citizens; that included in its power to administer and maintain schools, it has the inherent power and duty to contract for electrical energy to serve the school facility, and that such a contract would be a contract between the sovereign and the supplier of the electrical energy. It cites in support thereof our decision in City of Grafton v. Otter Tail Power Company, 86 N.W.2d 197, 201 (N.D.1957). This was an action by the city of Grafton, which had its own electric light plant, against the power company on a complaint filed with the Public Service Commission for an order requiring the power company to cease and desist from supplying electric power to the Grafton State School, located within the boundary of the city of Grafton. The Grafton State School is established *732and located by Section 215 of the North Dakota Constitution, whereas our public school system is established by statutes under authority of Section 147 of the North Dakota Constitution which directs the legislative assembly to make provision for the establishment and maintenance of a system of public schools which shall be open to all children of the State of North Dakota. There is a vast distinction between these two constitutional provisions. The first makes the Grafton State School a state institution, whereas the latter directs the legislative assembly to make provision for the establishment of public schools. The Grafton case is not applicable here. We do not hold that the school district may not select its own supplier of electric energy for its new high school building but, under the REC’s charter, limitations are provided by law that it cannot supply the new high school with electric energy unless it first obtains a limited franchise to do so from the city of Crosby, or unless the territory upon which the new high school building is located is excluded from the city under statutory procedure available for that purpose.
Lastly, the REC claims that its power contract to serve the new high school building was merely a renewal of the contract made to serve the yard light. This issue is answered earlier in this opinion where we held that a contract is terminable by operation of law where the purpose for which the contract was entered into no longer exists because of the changed status of the area being served. The new contract was entered into after the territory had been annexed and was, therefore, unlawful.
This far we are in agreement. However, apprehension has been expressed by the rest of the majority of this court that our holding may be interpreted as a precedent under which an electric cooperative, after operating in good faith in a rural area, might suffer loss of its electrical facilities installed in such rural area, without just compensation, if the area is annexed to a city, rural in character, in which the residents are receiving central station service, and the city refuses to grant the electric cooperative a franchise to continue to serve its customers after the annexation. Therefore, the majority are in agreement that we should establish, in this case, a rule governing the interested parties relative to their respective rights and obligations where the electric cooperative has electrical installations in place within the annexed area, in order to insure that the dispossessed cooperative will not suffer loss of its investment. It must be conceded that the statutes do not provide for a contingency of this kind. It is of interest to note that the State of Missouri, by statute, provides that where an area which has been furnished electrical energy by a cooperative becomes nonrural, the municipality, or the holder of the franchise serving the area, may purchase the physical property of the cooperative and the purchase of such property terminates the cooperative’s power to render service to its customers in the annexed area. Missouri Public Service Co. v. Platte-Clay Electric Coop., 407 S.W. 2d 883 (Mo.1966). It is my opinion that a decision on this question in this case would be only advisory for the reason that, according to my understanding of the record, it is agreed that the REC owns no electrical facilities located within the area annexed to the city of Crosby. It is true that the REC installed an underground line, a pad, and a transformer in order to serve the school district, and that a portion of these installations are within the area annexed to the city of Crosby. However, under the contract entered into between the school district and the REC, it was agreed that this installation would become the property of the school district as a part of the consideration for the contract. The contract, however, provides for a minimum term of five years with a minimum rate of $4,500 per year. This contract was entered into after the area was annexed and after the REC had, on two occasions, made application to the city of Crosby for a franchise, which applications were denied.
*733On the basis of this series of events and onr holding that the contract is unlawful, it is my opinion that the REC did not enter into the contract in good faith but took a calculated risk that this court would interpret the statute in its favor. The three remaining members of the majority of this court feel differently. It is their contention that the REC made an investment when it installed these electrical facilities and, because the contract is unlawful, it will not receive the anticipated return on its investment and, therefore, may sustain a loss; that the installation was made in good faith on the basis of its interpretation of the law; and, further, it is believed that the installation may be of benefit to MDU in serving the new high school. My brethren are also of the opinion that our ruling in this decision will affect other electric cooperatives which, in good faith, have made electrical installations in rural areas that later were annexed to cities, rural in character, and which cities have refused to grant franchises permitting the cooperatives to continue to serve the areas annexed. Therefore it is reasoned that unless we, in this opinion, determine and decide the law applicable under such circumstances, there will be great confusion and losses may be sustained.
I agree that there must be some orderly method of transition where an electric cooperative has been operating in good faith in a rural area which is annexed to a city receiving central station service, and a franchise is not obtainable from the city permitting it to operate within the area annexed. My reasons for feeling that this is not a proper case in which to make this decision are set forth above. It appears to me that if there is a dispute as to ownership of these facilities, this dispute must first be resolved between the REC and the school district.
It is the opinion of the majority and, therefore, the law of this case that the REC shall be permitted to continue to serve its customers within the annexed area until such time as the electrical facilities owned by the REC and located within the area annexed, have been purchased by the franchisee, MDU. The franchisee, being a public utility, has the right to condemn these facilities under our eminent domain statutes, and it must do so unless MDU and the REC consummate a purchase and sale agreement for the physical property, otherwise the REC may continue to serve the new school.
For the reasons set forth in this opinion, the summary judgment of dismissal of the action is reversed and we direct the trial court to enter a summary judgment enjoining the REC from doing business pursuant to the electric power contract to supply electric energy to the new high school building located within the city of Crosby, but it shall stay the enforcement of the injunction until the trial court has been furnished with satisfactory evidence that the electric installations, if any, owned by the REC and located upon the area annexed to the city of Crosby, upon which the new high school building has been constructed, have been transferred to the plaintiff, MDU.
STRUTZ, C. J., and KNUDSON, J., concur.