OPINION CP THE COURT BY
CIRCUIT JUDGE PERRY.The petitioners in the above entitled cases are all Chinese and seek to enter the Hawaiian Islands under the same circumstances as did the petitioners in the cases of Wong Tuck and others, recently decided by this Court,' ante page 600. Upon the refusal of the respondent and of J.-N. Brown, Chinese Inspector sent here by the Secretary of the Treasury of the United States, to allow them to land, these petitions were filed and writs issued. The pleadings are all similar in form and substance to those in the Wong Tuck case, and present the same questions of law.
In the cases referred to, this Court held that by the terms of the Newlands Eesolution “the United States laws relating to the immigration and exclusion of Chinese were extended to and put in force in the Hawaiian Islands and are now in force in this country; and, further, that Chinese, whether residing in this country or not prior to July 1, 1898, to whom permits to enter the Hawaiian Islands were issued prior to said date by the Harvaiian Government, are not excepted by the Eesolution from the operation of said United States laws, but are also subject to the provisions thereof.” To the views expressed and conclusion reached on that branch of the decision in those cases, we adhere.
On the question of whether or not this Court has jurisdiction “in habeas corpus proceedings or otherwise to pass upon the validity of the appointment of a Federal officer or the extent of his powers under Federal laws or the legality of the detention by him under such laws of persons who claim to be illegally in such custody,” further argument was presented in the cases *658at bar and tbe attention of tbe Court directed to controlling decisions of the Supreme Court of tbe United States. On a careful re-examination of tbe subject, with tbe additional light tbus given, we believe that tbe conclusion reached by tbe majority of tbe Court in tbe Wong Tuck case on this question of jurisdiction, was not founded on a correct view of. tbe law and that it should be reversed.
Tbe Hawaiian Islands are now a part of tbe territory of tbe United States. There are no two separate sovereignties here, such as exist in each of tbe States, within tbe meaning of tbe rules laid down in tbe Booth cases, 21 Howard 506. Tbe decision in those cases is not, therefore, in point.
Tbe Supreme Court of tbe United States lias held, moreover, that tbe provisions of Sections 1 and 2, Art. III. of tbe Constitution, that “tbe judicial power of tbe United States shall be vested in one Supreme Court and in such inferior Courts as Congress may, from time to time, order and establish,” and that, “tbe judicial jiower shall extend to all cases in law and equity arising under this Constitution, tbe laws of tbe United States, and treaties made, or which shall be made, under their authority, • * * * to all cases of admiralty and maritime jurisdiction” do not prohibit Congress from itself establishing or from delegating to a territorial legislature tbe power to establish, Courts in such territories which are not “inferior” Courts such as are contemplated by Article III. but which nevertheless have tbe same jurisdiction in all cases arising under tbe Constitution and laws of tbe United States as is vested in tbe Circuit and District Courts of tbe United States, i. e., in tbe “inferior” Courts; and that tbe source of tbe power of Congress tbus to establish, either directly or indirectly, such tribunals, is Article IV., Section 3, of tbe Constitution, which provides that “tbe Congress shall have power to dispose of and make all needful rules and regulations respecting tbe territory or other property belonging to tbe United States.” In other words, that Court has held that it is not inconsistent with tbe Constitution of tbe United States, or unconstitutional, for terri*659torial Courts, when authorized so to do by Congress, either directly or indirectly, to exercise the judicial powers named in Art. III., even though such courts be not “inferior” Courts within the meaning of that Article. In this respect, Territorial Courts stand on a different basis from State Courts.
The following authorities abundantly sustain the foregoing propositions:"
In American Ins. Co. v. Canter, 1 Peters 511, 542, 546, decided in 1828, the question was “as to the validity of a decree passed by a Court, consisting of a notary and five jurors, created by a statute of the territorial legislature of Florida, whose powers, under certain Acts of Congress, extended to all rightful subjects of legislation, subject to the restriction that their laws should not be inconsistent with the laws and Constitution of the United States. On one side it was contended, that, under those acts, jurisdiction was vested exclusively in the superior Courts of the territory created by the Acts of Congress establishing a territorial government in Florida” (171 U. S. 180). The Court said: “In the meantime,” (i. e. until it shall become a state) “Florida continues to be a territory of the United States; governed by virtue of that clause in the Constitution which empowers Congress ‘to make all needful rules and regulations, respecting the territory or other property belonging to the United States.’ * * *
“It has been contended, that by the Constitution the judicial power of the United States extends to all cases of admiralty and maritime jurisdiction; and that the whole of this judicial power must be vested ‘in one Supreme Court, and in such inferior Courts as Congress shall from time to time ordain and establish.’ Hence it has been argued, that Congress cannot vest admiralty jurisdiction in Courts created by the territorial legislature.
“We have only to pursue this subject one step further, to perceive that this provision of the Constitution does not apply to it. The next sentence declares, that ‘the judges both of the *660Supreme and inferior Courts, shall hold their offices during good behavior.’ The judges of the superior Courts of Florida hold their offices for four years. These Courts, then, are not constitutional Courts, in which the judicial power conferred by the Constitution on the general government, can be deposited. They are incapable of receiving it. They are legislative Courts, created in virtue of the general right of sovereignty which exists in the government, • or in virtue of that clause which enables Congress to make all needful rules and regulations, respecting the territory belonging to the United States. The jurisdiction with which they are invested, is not a part of that judicial power which is defined in the 3rd Article of the Constitution, but is conferred by Congress in the execution of those general powers which that body possesses over the territories of the United States. Although admiralty jurisdiction can be exercised in the States in those Courts, only, which are established in pursuance of the 3rd Article of the Constitution, the same limitation .does not extend to the territories. In legislating for them, Congress exercises the combined powers of the general, and of a state government.
“We think, then, that the Act of the territorial legislature, erecting the Court by whose decree the cargo of the Point a Petre was sold, is not ‘inconsistent with the laws and Constitution of the United States,’ and is valid.”
In 1849, after the admission of Florida as a State, further questions of jurisdiction arose there and were decided in Benner v. Porter, 9 Howard 235 (18 Curtis 121). In that case, the Court said:
“The distinction between the Federal and State jurisdiction, under the Constitution of the United States, has no foundation in these territorial governments; and consequently, no such distinction exists, either in respect to the jurisdiction- of their Courts or the subjects submitted to their cognizance. They are legislative governments, and their Courts legislative Courts; Congress, in the exercise of its powers in the organization and government of the territories, combining the powers of both *661the Federal and State authorities. There is but one system of government, or of laws operating within their limits, as neither is subject to the constitutional provisions in respect to State and Federal jurisdiction.
“They are not organized under the Constitution, nor subject to its complex distribution of the powers of government, as the organic law; but are the creations, exclusively, of the legislative department, and subject to its supervision and control. Whether or not there are provisions in that instrument which extend to and act upon these territorial governments, it is not now material to examine. We are speaking here of those provisions that refer particularly to the distinction between Federal and State jurisdiction. * * *
“The admission of the State into the Union brought the territory under the full and complete operation of the Federal Constitution, and the judicial power of the Union could be exercised only in conformity to the provisions of that instrument. By Art. in., Section 1: 'The judicial power of the United States shall be vested in one Supreme Court, and in such inferior Courts as Congress may, from time to time, ordain and establish. The judges, both of the Supreme and inferior Courts, shall hold their offices during good behavior.’
“Congress must not only ordain and establish inferior Courts within a State, and prescribe their jurisdiction, but the judges appointed to administer them must possess the constitutional tenure of office before they can become invested with any portion of the judicial power of the Union. There is no exception to this rule in the Constitution. The territorial Courts, therefore, were not Courts in which the judicial power conferred by the Constitution of the Federal Government could be deposited. They were incapable of receiving it, as the tenure of the incumbents was but four years. 1 Pet. 516. Neither were they organized by Congress under the Constitution, as they were invested with powers and jurisdiction which that body were incapable of conferring upon a Court within the limits of a State.”
*662In Clinton v. Englebrecht, 13 Wall. 447, (1871) the two cases just cited were approved, the Court saying:
“The judges of the Supreme Court of the Territory are appointed by the President under the Act of Congress, but this does not make the Courts they are authorized to hold Courts of the United States. This was decided long since in The American Insurance Company v. Canter, and in the later case of Benner v. Porter. There is nothing in the Constitution which would prevent Congress from conferring the jurisdiction which they exercise, if the judges were elected by the people of the Territory, and commissioned by the governor. They might be clothed with the same authority to decide all cases arising under the Constitution and laws of the United States, subject to the same revision. Indeed, it can hardly be supposed that the earliest Territorial Courts did not decide such questions, although there was no express provision to that effect, as we have already seen, until a comparatively recent period.
“There is no Supreme Court of the United States, nor is there any District Court of the United States, in the sense of the Constitution, in the Territory of Utah. The judges are not appointed for the same terms, nor is the jurisdiction which they exercise part of the judicial power conferred by the Constitution or the General Government. The Courts are the Legislative Courts of the Territory, created in virtue of the clause which authorizes Congress to make all needful rules and regulations respecting the Territories belonging to the United States.”
Again, in Reynolds v. U. S., 98 U. S. 154, (1878):
“By. Sec. 1910 of the Revised Statutes the District Courts of the Territory have the same jurisdiction in all cases arising under the Constitution and laws of the United States as is vested in the Circuit and District Courts of the United States; but this does not make them Circuit and District Courts of the United States. We have often so decided. American Insurance Co. v. Canter, 1 Pet. 511; Benner et al. v. Porter, 9 How. 235; Clinton v. Englebrecht, 13 Wall. 434. They are Courts of the *663Territories, invested for some purposes with the powers of the Courts of the United States.”
The Act of Congress approved March 2, 1853, entitled “An Act to establish the Territorial Government of Washington,” enacted “that the District Courts of the Territory shall have and exercise the same jurisdiction in all cases arising under the Constitution and laws of the United States as is vested in the Circuit and District Courts of the United States, and also of all cases arising under the laws of the Territory. In the case of “The City of Panama,” 101 U. S. 453 (1879), a libel in rem against a steamship was filed in the proper District Court of the Territory. The jurisdiction of the Court was attacked by the respondents, “admiralty and maratime” cases being one of the subjects apparently reserved by Art. III. to the Supreme and “Inferior” Courts there referred to. In disposing of the questions raised, it was said, inter alia: “Beyond all question admiralty jurisdiction, including jurisdiction in prize cases, was vested in the Territorial District Courts by the ninth Section of the organic act, the explicit language of the act being that the District Courts of the Territory shall have and exercise the same jurisdiction in all cases arising under the Constitution and laws of the United States, as is vested in the Circuit and District Courts of the United States, and also of all cases arising under the laws of the Territory. * * *
“State Courts have no jurisdiction in admiralty cases, nor can Courts within the States exercise such jurisdiction, except such as are established in pursuance of the third Article of the Constitution, but this Court in that case,” (American Insurance Co. v. Canter) “Mr. Chief Justice Marshall giving the opinion, decided expressly that the same limitation does not extend to the Territories; that in legislating for the Territories, Congress exercises the unlimited powers of the General and of a State government. * * *
“Instances where such jurisdiction,” i. e., of cases arising under the Constitution and laws of the United States, “has been exercised by the Territorial District Courts under such *664acts are numerous, and they extend from the time our territorial system was organized to the present time, and the power has' always been exercised without challenge from any quarter and without the least doubt of their constitutional or legal authority.”
“It is certainly now too late to doubt the power of Congress to govern the Territories. There have been some differences of opinion as to the particular clause of the Constitution from which the power is derived, but that it exists has always been conceded. * * * All territory within the jurisdiction of the United States not included in any State must necessarily be governed by or under the authority of Congress. The Territories are but political subdivisions of the outlying dominion of the United States. Their relation to the general government is much the same as that which counties bear to the respective States, and Congress may legislate for them as a State does for its municipal organizations. The organic law of a Territory takes the place of a Constitution as the fundamental law of the local government. It is obligatory on and binds the territorial authorities; but Congress is supreme, and for the purpose of this department of its governmental authority has all the powers of the people of the United States, except such as have been expressly or by implication reserved in the prohibitions of the Constitution.” National Bank v. Bounty of Yankton, 101 U. S. 133 (1879).
It being, then, clearly shown by these decisions that Congress can, constitutionally, establish Courts in the Territories with jurisdiction over cases arising under the laws of the United States, even though such Courts be other than those contemplated in Art. III., and can likewise delegate to a Territorial Legislature the power to establish such tribunals, it remains to be considered what power, if any, Congress has in the exercise of that authority conferred on this Court.
In the Joint Resolution of July V, 1898, it is provided that “until Congress shall provide for the government of such islands, all the civil, judicial and military powers exercised by the *665officers of the existing government in said islands, shall be vested in such person or persons, and shall be exercised in such manner as the President of the United States shall direct; and the President shall have power to remove said officers and fill the vacancies so occasioned;” and, further, that “the municipal legislation of the Hawaiian Islands, not enacted for the fulfillment of the treaties so extinguished, and not inconsistent with this Joint Resolution, nor contrary to the Constitution of the United States, nor to any existing treaty of the United States, shall remain in force until the Congress of the United States shall otherwise determine.” In the exercise of the power conferred by the first of these two provisions, the President of the United States, on August 12, 1898, directed, by proclamation, that “the civil, judicial and military powers in question shall be exercised by the officers of the Republic of Hawaii, as it existed just prior to the transfer of sovereignty, subject to his power to remove such officers and to fill vacancies,” and after reiterating the second of these and other provisions of the Resolution, further directed that, “under these various provisions, the Government of the islands will proceed without interruption.” The intention of Congress was to continue the existing government of the islands in operation without interruption, except in so far as it might be inconsistent with the Constitution or treaties of the United States or with the terms of the Resolution. Subject to this limitation only, the judicial power was to continue as it existed just prior to the transfer of sovereignty.
Article 82 of the Constitution of Hawaii vested the judicial power of the Republic in one Supreme Court and in such inferior Courts as the Legislature might, from time to time, establish; and Article 85 provided: “The judicial power shall extend to all cases in law and equity, arising under the Constitution and Laws of the Republic, and Treaties; to all cases affecting Public Ministers and Consuls, and to all cases of Admiralty and Maritime Jurisdiction.” Under our laws (see Section 51 of the Judiciary Act of 1892) the Supreme Court had the power to issue writs of habeas corpus and to inquire into the legality *666of the restraint in any and all cases of alleged illegal detention, without any limitation whatever. That power thus granted by our own Legislature, Congress has confirmed and validated,— the equivalent of a new grant to the same extent — in and by the Newlands Resolution. If, in inquiring into the legality of the restraint in this case, it becomes necessary incidentally to construe the United States laws relating to the immigration and exclusion of Chinese, which laws have been extended here, or to pass upon the validity of the appointment of an officer claiming to act under such laws or the extent of his powers thereunder, this Court has, we now believe, the jurisdiction to do so. Neither the exercise of such jurisdiction by the Court, nor the grant or confirmation thereof by Congress, is, as has been seen, inconsistent with the Constitution of the United States.
Robertson & Wilder, J. A. Magoon and R. D. 8illiman, J. M. Davidson, Humphreys & Gear, and Kinney, Ballou & Mo Glanahan, for petitioners.*666In the cases of Wong Tuck and others, the question of the extent of the powers of Inspector J. K. Brown and of the respondent McStocker, was not definitely decided, although discussed to some extent. We go now one step further, and say that in our opinion the respondent McStocker has authority to prevent the landing upon the shores of these islands of Chinese who are by law prohibited from landing. He had, just prior to the transfer of sovereignty, this authority under Hawaiian laws which are not inconsistent with the terms of the Resolution or with the Constitution of the United States. By the terms of the Resolution, therefore, that authority is continued in him. The Court holding, as does the respondent McStocker, that under existing laws these petitioners are prohibited from entering these islands, it becomes unnecessary to express an opinion on the question of whether or not said respondent’s decision in this case or in similar cases is final and not reviewable by this Court.
Bor these reasons, we think that the detention in these cases by respondent McStocker is lawful, that the writs issued herein should be discharged and that the petitioners should be remanded to the custody of said respondent.
W. 0. Smith, Attorney-General, and Thurston & Garter, for respondent.