after stating the case, delivered the opinion of the court.
Tips case involves not only the power qf this court to enjoin the Bfead of a Department, but the power of a Secretary of *171 the Interior to annul the action of his predecessor, when such action operates to give effect to a grant of public lands to a railroad corporation.
1. With regard to the judicial power in cases of this kind, it was held by this court as early as 1803, in the great case of
Marbury
v.
Madison,
We have no doubt the principle of these decisions applies to a case wherein it is contended that the act of the Head of a Department, under any view that, could be taken „of the facts that were"laid before him,, was
ultra vires,
and'beyond the
*172
scope of his authority. If he has no power at all to do the act complained of, he is as much subject to an injunction as he would be to a mandamus if he refused to do- an' act which the law plainly required him to do. As .observed by Mr, Justice Bradley in
Board of Liquidation
v.
McComb,
2. At the time the documents required by the act of 1875 were laid before Mr. Yilas, then Secretary of the Interior, it became' his duty to examine them, and to determine, amongst other things, whether the railroad authorized by the articles of incorporation was- such a one as was contemplated by the act of Congress. Upon being satisfied of this fact, and that all the other requirements of the act had been, observed, he was authorized to approve the profile of the road, and to cause such approval to be noted upon the plats in the land office for the district where such land was located. ‘ When this was done, the granting section of the act became operative, and vested in the railroad company a right of way through the public lands to the extent of 100 feet on each side of the central line of the road.
Frasher
v. O’Connor,
The position of the defendants in this connection is, that the-existence of a railroad, with the duties and liabilities of a common carrier of freight and- passengers, was a jurisdictional fact, without which the Secretary had no power to act, and that in this case' he was imposed upon by the fraudulent representar tions of the plaintiff, and that it was competent for his successor to revoke the approval thus obtained ; in other words, that the proceedings were a nullity, and that his want of jurisdiction to approve the map may be set up as a defence to this suit.
*173
It is true that in every proceeding of a judicial nature, there are one or more facts which are strictly jurisdictional, the existence of which is necessary to the validity of the proceedings, and without which the act of the court is a mere nullity; such, for example, as the service of process within the State upon the defendant in a common law action,
D'Arcy
v.
Ketchum,
There is, however, another class of facts which are termed
quasi
jurisdictional, which are necessary to be alleged and proved in order to set the machinery of the law in motion, but which, when properly alleged and established to the satisfaction of the court, cannot be attacked collaterally. With respect to these facts, the finding of the court is as conclusively presumed to be correct as its finding with respect to any other matter in issue between the parties. Examples of these are the allegations and proof of the requisite diversity of citizenship, or the amount in controversy in a Federal court, which, when found by such court, cannot be questioned collaterally;
Bes
*174
Moines Nav. Co.
v.
Iowa Homestead Co.,
This distinction has been taken in a large number of cases in this court, in which the validity of land patents has been attacked collaterally, and it has always been held that the existence of lands subject to be patented was the only necessary prerequisite to a valid patent. In the one class of cases, it is held that if the land attempted to be patented had been reserved, or was at the time no part of'the public domain, the Land Department had no jurisdiction over it and no power or authority to dispose of it. In such cases its action in certifying the lands under a railroad grant, or in.issuing a patent, is not merely irregular, but absolutely void, and may be shown to be so in any collateral proceeding.
Polk's Lessee
v.
Wen
*175
dall,
Upon the other hand, if the patent be for lands which the Land Department had authority to convey, but it was imposed ■upon, or was induced by false representations to issue a patent, the finding of the department upon such facts cannot be collaterally impeached, and the patent can only be avoided by proceedings taken for that purpose. As was said in
Smelting Co.
v. Kemp,
We think the case under consideration falls within this latter class. 1 The lands over which the right of way was granted were public lands'subject to the operation of the statute, and the question whether the 'plaintiff was- entitled to the benefit of the grant was one which it was competent for the Secretary of the Interior to decide,- and when decided, and his approval was noted upon the plats, the first section of the act vested the-right of way in.the railroad company. The language of that section is “ that the right of way through the public lands of- the United States is hereby granted to any railroad company duly organized under the laws of any State or Territory,” etc. • The uniform rule- of this court has been that such an act was a grant
in prmenti
of lands- to be' thereafter identified.
Railway Company
v. Alling,
It was not competent for the Secretary of the Interior thus to revoke the action of his predecessor, and -the decree ’ of • the court below must, therefore, be Affirmed.
