delivered the opinion of the Court:
The Secretary, in ordering the Sickler survey to re-establish the monument the lines of the Hancock survey according to the courses and distances called for in the patent, adopted the only legal course open to adjust the confused situation. The rule of law applicable in cases of disputed boundaries is concisely stated in the decision of the Secretary directing the Sickler survey, as follows: “Those rules and the order in which they are usually considered are, first, natural boundaries; second, artificial marks; third, adjacent boundaries; and fourth, course and distance. These rules, however, are not inflexible, as where the location of monuments and objects called for are involved in doubt and obscurity and cannot be ascertained with any reasonable degree of certainty, and vdiere no mistake can reasonably be supposed in course and distance. The controlling principle in file location of boundaries being, that what is most material and certain in a description must prevail over that which is less certain. Tyler, Boundaries, 30; Newson v. Pryor, 7 Wheat. 7, 5 L. ed. 382. But where natural or artificial objects are wanting, course and distance must govern, in the absence of a more certain call. Uf a grant be made which describes the land granted by course and distance only, or by natural objects not *472distinguishable from others of the same kind, course and distance, though not safe guides, are the only guides given us and must be used.’ Chinoweth v. Haskell, 3 Pet. 96, 7 L. ed. 616.”
But the order before us is not to make further endeavor to establish the correct Hancock line, but to arbitrarily set aside the order confirming the Sickler survey and to substitute the Perrin line. Of the Perrin survey, the Secretary, in his decision, elicited by the Owen report, said: “It does not appear from the returns of the Perrin survey of 1896, or from any of the reports of the examination thereof, that ‘M 21’ of Hancock’s survey has been identified sufficiently to warrant the termination of the line at 20 chains. The mere fact that Perrin found a blazed sycamore there having no distinguishing mark from other trees of the same kind furnishes no proof that it is the original tree designated by Hancock as ‘M 21,’ especially when found by such utter disregard of distance and to a certain extent out of course. The rule that monuments will not invariably control where they are involved in doubt and obscurity, and where no mistake can reasonably be supposed in course and distance, applies with great force in this case, where the supposed monument contains no evidence of the identity of the original monument, and where it cannot be reasonably supposed that such excessive error in distance could have occurred. In his survey of 1885 Perrin at 30.15 chains found a burned sycamore stump which he reported he was unable to determine whether it was station 21, as there were several burned sycamore stumps in the vicinity. He, however, accepted it as ‘M 21,’ and it certainly gratified the call better than the sycamore found at 20 chains, being corroborated by course and distance. In his survey of 1896 he reports that at 30 chains he found no trace of a sycamore tree or evidence of there having been a tree at that point, and therefore determined that the sycamore at 20 chains is the corner which he marked ‘M 21.’ Examiner Owen, however, found the burned sycamore stump at 30 chains, which is evidently the stump found and reported by Perrin in 1885.”
Of the probable correctness of the Hancock survey, the court, in. Untied States v. Hancock, 133 U. S. 193, 33 L. ed. 601, 10 *473Sup. Ct. Rep. 204, paid: “Some question is made as to the correctness of the survey, and that turns as a question of fact upon what is meant by the expression ‘Agua Caliento’ in the various descriptions. If it means a stream known as Agua Caliente, then the government has no cause to challenge the survey, for it includes loss than was really confirmed; but if it means a district of country known by that name in the northwestern portion of the San Bernardino Rancho, a neighboring tract, then the survey was excessive. If if were necessary for us to determine this question, we think the evidence in the case indicates that the stream, and not the district, was intended; but it is not the province of this court to correct a mere matter of survey like that. If made in good faith and unchallenged as this has been for over fifteen years, whatever doubts may exist as to its correctness must be resolved in favor of the title as patented.”
We have, perhaps, dwelt at undue length on the survey and the legal authority of the Secretary to settle it according to the courses and distances called for in the patent. If that wore the only question before us, and it were still an open question in the Department, it is elementary that we would be without jurisdiction to control the discretion of defendant and order which of the several surveys should be adopted. “The courts can neither correct nor malee surveys. The power to do so is reposed in the political department of the government, and tlio Band Department, charged with the duty of surveying the public domain, must primarily determine what are public lands subject to survey and disposal under the Public Land Laws. Possessed of the power, in general, its exercise of jurisdiction cannot be questioned by the courts before it has taken final action.” Kerwan v. Murphy, 189 U. S. 35, 54, 47 L. ed. 698, 705, 23 Sup. Ct. Rep. 599.
But the crucial question hero presented goes to the jurisdiction of defendant Secretary to reopen this case. The order for the remonumenting of the Hancock survey extended an invitation to all persons in interest to be heard, including those who had settled upon or initiated claims to surrounding lands. By this action the boundaries of the patented claim became fixed as the *474established line of demarcation between it and the surrounding public domain. With the approval of the Siclder survey, made in accordance therewith, we think the jurisdiction of the Secretary ended. The contention now that the carrying into effect of the present order would not affect the title of plaintiffs is fallacious, for two reasons: (1) Because it would cast a cloud upon their title, which would, at least, require a proceeding in court to remove, and (2), if acquiesced in, it would reduce the area of the patented grant by 300 acres.
Much reliance is placed by counsel for the government upon the case of Kenucm v. Murphy, supra.. There a claim had been patented, based upon a survey which described the meander line of a lake as one of the boundaries. It was. afterwards discovered that, between the meander line shown by the patent and the actual shore of the lake, there were about 1,200 acres of unsurveyed land. The government undertook to survey this land as government land, and injunction. was nought by the grantee to restrain the survey, on the ground that his claim extended to the lake. Of course, the court held that the Land Department could not be restrained from investigating whether or not there was government land between the line defined in the patent and the lake. So here, the Department ,was:well within its rights in ascertaining the boundary between the patented land and the government domain. But when that had been accomplished, and the matter had been closed by final order of the Secretary, the jurisdiction of- the officials of, the government ceased. Indeed, the distinction is clearly pointed out by the court in the Kerwan decision, as follows; “Noble v. Union River Logging R. Co. 147 U. S. 165, 37 L. ed. 123, 13 Sup. Ct. Rep. 271, is not to the contrary, for that was.a case where the executive department had confessedly finally acted, and then attempted. to resume jurisdiction, and an. injunction was sustained.”
The rule is-uniform that when patent passes from the government, the legal title passes with it, and all supervision or control over the land patented- ceases in the officials- of the government. In Brown v. Hitchcock, 173 U. S. 473, 43 L. ed. *475772, 19 Sup. Ct. Rep. 485, cited by counsel for defendant, as in many of the cases cited, the title had not passed by patent, and the court approved the rule announced in United States v. Schurz, 102 U. S. 378, 396, 26 L. ed. 167, 171, as follows: “Congress has also enacted a system of laws by which rights to those lands may be acquired, and the title of the government conveyed to the citizen. This court has with a strong hand upheld the doctrine that so long as the legal title to these lands remained in the United States, and the proceedings for acquiring it were as yet in fieri, the courts would not interfere to control the exercise of the power thus vested in that tribunal. To that doctrine wo still adhere. But we have also held that when, by the action of these officers and of the President of the United States in issuing a patent to a citizen, the title to the lands has passed from the government, the question as to the real ownership of them is open in the proper courts to all the considerations appropriate to the case.”
The land embraced within the grant was never a part of the public domain of the United States. The rights of the grantee were preserved by the stipulations of the treaty with Mexico. Wbon the extent of his rights was finally ascertained and confirmed by the special tribunal commissioned by Congress for that purpose, nothing remained for the Land Department but to survey the lines and issue a patent. With the approval of the survey and the issue of the patent, the whole matter passed beyond the control of the Department. For fraud practised, either in making the survey or procuring the patent, the matter w;as still beyond the jurisdiction of the Department, but subject to a proceeding in court to annul the patent, as was attempted in the Hancock Case.
It may be stated broadly, therefore, that the jurisdiction of the officials of the Land Department over public lands passes with the delivery of a patent therefor. In Moore v. Robbins, 96 U. S. 530, 533, 24 L. ed. 848, 850, it was said directly that it was a part of the daily business of the officers of the Land Department “to decide when a party has by purchase, by preemption, or by any other recognized mode, established a right *476to receive from tbe'government a title to any part of the public domain. This decision is subject to an appeal to the Secretary, if taken in time. But if no such appeal be taken, and the patent issued under the seal of the United States, and signed by the President, is delivered to and accepted by the party, the title of the'government passes with this delivery. With the title passes away all authority or control of the Executive Department over the land, and over the title which it has conveyed. * * -x- >ppe fimctions of that Department necessarily cease when the title has passed from the government.”
It logically follows that, with the approval of the Hancock survey and the issue of the patent conveying to the grantee the lands therein described, the jurisdiction of the Land Department ceased. The right of the Department later to locate the line for the purpose of establishing boundaries of adjacent public lands was limited to the Hancock survey. As we have observed, and as the law required, if the station marks of the Hancock survey could not be found, it was the duty of the Department, as was done by .the Sickler survey, to establish the monuments by courses and distances as defined by Hancock and called for in the patent.
The approval of the Sickler survey was an official determination of the whole matter. For years this was accepted, and the adjacent public lands were settled upon and disposed of on that basis. After the patent had been outstanding for over forty years, and the re-establishment of the original survey had been approved for many years, the present order was made. We think it is beyond the jurisdiction of the Secretary to thus revoke the order of his predecessor finally determining outstanding vested rights. “One officer of the Land Office is not competent to cancel or annul the act of his predecessor. That is a judicial act, and requires the judgment of a court.” United States v. Stone, 2 Wall. 525, 535, 17 L. ed. 765, 767. Or, as was said by Mr. Justice Miller in United States v. Schurz, 102 U. S. 378, 402, 26 L. ed. 167, 173: “From the very nature of the functions performed by these officers, and from the fact that a transfer of the title from the United States to another *477owner follows their favorable actiori, it must result that at some stage or other of the proceedings their authority in the matter ceases. It is equally clear that this period is, at the latest, precisely when the last act in the series essential to the transfer of title has been performed. Whenever this takes place, the land has ceased to be the land of the government; or, to speak in technical language, the legal title has passed from the government, and the power of these officers to deal with it has also passed away.”
An order of the Secretary of the Interior, revoking the order of his predecessor re-establishing and monumenting the boundary of plaintiffs’ grant in accordance with the description in the patent, and arbitrarily substituting a survey considered and condemned by his predecessor, thereby greatly reducing the area of plaintiffs' patented grant, is an exercise of power equivalent to the revoking of a patent. It would amount to devesting plaintiffs of their property without due process of law, since a patent can only be annulled or canceled by a court. Any attempt to thus interfere with rights so vested may be enjoined. In New Orleans v. Paine, 147 U. S. 261, 264, 37 L. ed. 162, 163, 13 Sup. Ct. Rep. 303, the court, referring to Noble v. Union River Logging R. Co. 147 U. S. 165, 37 L. ed. 123, 13 Sup. Ct. Rep. 271, in connection with the question it then had under consideration, said: “In that case it appeared that the only remedy of the plaintiff was to enjoin the Secretary of the Interior from revoking his approval of a certain map which operated as a grant of land. Ilis contemplated action amounted in effect to the cancelation-of a land patent. So, in this case, if it were made to appear that the former survey had been completed and approved in such manner that all the lands included within the line's of the former survey had become vested in the plaintiff, it is possible that it might be entitled to an injunction against any act which would have the effect of disturbing or unsettling a title thereby acquired.”
The grantee and his successors have been in undisturbed possession of the patented area for over forty years. Considering a similar situation, involving the power of the Secretary of *478the Interior, by an order made in 1861, to challenge a survey of the south line of the Fort Leavenworth Military Reservation-made and approved in 1830, the court, in United States v. Stone, supra, said:. “It was made in the year 1830, and since that time both parties have held possession and claimed up to the lines then established by the survey. In the case of private-persons, a boundary surveyed by the parties and acquiesced in for more than thirty years could not be made the subject of dispute by reference to courses and distances called for in the patents under which the parties claimed, or on some newly discovered construction of their title deeds. We see no reason why the same principle should not apply in the present case.”
This is the only principle upon which the security of title can rest. If power rests in the Secretary of the Interior to cancel the orders of his predecessors finally determining property rights simply because he differs from them in opinion, there would be no such thing as a vested title derived from the government. If an order can be revoked forty years after issue of patent, and ten years after final re-establishment of the lines of the patented grant, it can be done after the lapse of a hundred years. Upon the finality of proceedings in the Land Department depends the security of titles emanating from the government. The present order, if carried into effect, would impair the title of plaintiffs as vested by the terms of the patent. It is, therefore, beyond the jurisdiction of the Secretary, and a restraining order should issue.
It follows that there can be no question of the jurisdiction of the court to restrain the Secretary from carrying the order complained of into effect. It would deplete the acreage of land patented by the government and impair the vested rights of plaintiffs. The United States is not a party in interest, since the survey in question merely defines the boundary line of lands to which title never vested in the United States, except as trustee for the Mexican grantee, and to which, in confirmation of the trust, a patent had long sinco issued. The threatened action of the Secretary is ultra vires. Discretionary power cannot be invoked, since there is no fact or question within his *479jurisdiction to he investigated or determined. In such cases it has been held repeatedly by the courts that injunction is the appropriate remedy. If an officer of the government is without lawful power or jurisdiction to do the thing complained of, he may be enjoined with the same propriety as by mandamus he can he compelled to perform a duty imposed upon him by law.
The decree is reversed with costs, and the cause is remanded with directions to enter a decree restraining the defendant, Secretary of the Interior, from proceeding to carry the order complained of into effect. Reversed and, remanded.
An appeal to the Supreme Court of the United States was allowed June 2, 1917.
Mr. Justice Hitz, of the Supreme Court of the District of Columbia, sat with, the Court in the hearing and determination of this appeal, in place of Mr. Chief Justice Shepard.