OPINION OP THE COURT.
This was an action in ejectment instituted in the lower court by appellee against appellant to recover a lot in the village of Springer, Colfax county, N. M. The complaint was substantially in statutory form.
!By section 5109, Code 1915, the trustees of'the New Mexico Eeform School were made a body corporate, with the right as such of suing and being sued; also certain other powers were conferred upon such corporate body. The trustees were to be appointed by the Governor of the state, with the advice and consent of the senate, and such corporate entity was created for the purpose of having the management and control of a reform school for boys.
To the appellee’s complaint appellant filed what is called a plea in abatement in the record, which set up that the defendant is a corporation existing solely by virtue of the above statute; that on July 1, 1910, the territory of New Mexico purchased three lots from the owner thereof, one of which is the lot for which this action is brought, and that such lot was being used for the purpose of the reform school, it having upon it a small brick building, *489which is being used, for a schoolhouse. It is further alleged that the possession or the right of possession the defendant has is the right given it as a state institution and agency of the state of New Mexico, and therefore the defendant was alleged to be only a nominal defendant, and the state to be the real party in interest, and that the action was in effect against the state of New Mexico; wherefore the court was alleged to be without jurisdiction of the person of the appellant, or the'subject of the action. The court sustained a demurrer to the plea in abatement, and, appellant declining to plead further, judgment was rendered for appellee.
The sole question involved in the case is whether or not the plea in abatement shows that the action was a suit against the state. Clearly- it was not. The trustees of the New Mexico Reform School, which was a corporate entity, was, of course, an agency of the state, through which it was administering the reform school, but the right to sue this state agency had been conferred by statute. While this right may be a limited right, clearly it would exist in the present case because the act of retaining possession of this real estate was the corporate act of the agency thus created. Unless it were permissible to institute an,action in ejectment in.such a case as this, it would be possible for this and similar agencies created by the state for the management of various institutions to arbitrarily dispossess owners of their property and take possession thereof, and such owners would be without any redress whatever.
The action is in no sense against the state, and it is not bound by the judgment of the district court, but might litigate with appellee the question of its title to the premises in question. The action simply determines as between appellee and appellant the right of possession. While it is true appellant’s right of possession is dependent upon title in the state assuming the plea in abatement to state the facts correctly, yet the adjudication of the question of the right of possession in this suit would not be binding upon the state should it elect to institute an action against appellee to quiet title to the premises.
*490Many cases have been decided in both federal and state courts which hold that a suit against an officer of the state or the United States government in cases similar to the present one are not suits against the state or the government within the prohibition of the Constitution. In most of the eases so decided the suit was against a single officer of the government, or the state, in possession of the property or doing the act sought to be prohibited. The present action necessarily was required to be against the corporate entity created by the state, which was in possession of the real estate. The trustees of the reform school as individuals were not possessed of the real estate, and, had they been sued in their individual capacities, could, and doubtless would have pleaded that they were not holding as individuals, but were retaining possession as the corporation mentioned.
In the case of King v. La Grange, 61 Cal. 221, it was held that ejectment would lie against an officer of the United States in possession of .the demanded premises on behalf of the government.
In the case of Polack v. Mansfield, 44 Cal. 36, 13 Am. Rep. 151, it was held that an action in ejectment would lie against an officer of the United States in possession of the demanded premises for the purpose of a military camp or fortification under the direction of the> Secretary of War or the President of the United States.
“It may, we think, be laid down as a rule, which admits of no exception, that in all cases where jurisdiction depends on the party, it is the party named in the record. * * * Where the right is in the plaintiff, and the possession (is) in the defendant, the injury cannot be stopped by the mere assertion of title in a sovereign.”
In McConnell v. Wilcox, 1 Scam, (2 Ill.) 344, the Supreme Court of Illinois held that the defense that ejectment would not lie because the occupant of the demanded premises was an officer of the United States, and in pos*491session as such officer, and not otherwise, conld "not be tolerated for a moment.”
“In deciding who are parties to the suit the court will not look beyond the record. Making a state officer a party does not make the state a party, although her law may have prompted his action, and the state may stand behind him as the r'eal party in interest.”
In the note to the case of De Garmo v. Praten, 28 Ann. Cas. 1913C, 346, 357, the author of the note says:
“It is generally held that, where federal or state officers are in possession of premises holding for the government, an action of ejectment may be maintained against them as individuals; otherwise, since the action cannot, without the consent of the state or federal government, be maintained against the latter, the landowner would be without remedy” —citing numerous cases in support of the proposition, among them being Lee v. United States, 106 U. S. 196, 16 Sup Ct. 240, 27 L. Ed. 171; Tindal v. Wesley, 167 U. S. 204, 17 Sup. Ct. 770, 42 L. Ed. 137.
For the reasons stated the judgment of the court below will be affirmed; and it is so ordered.
HANNA, C. J., concurs. PARKER, J., being absent, did not participate.