What follows is an opinion from the Supreme Court of the United States. Your task is to identify the court in which the case originated. Focus on the court in which the case originated, not the administrative agency. For this reason, if appropiate note the origin court to be a state or federal appellate court rather than a court of first instance (trial court). If the case originated in the United States Supreme Court (arose under its original jurisdiction or no other court was involved), note the origin as "United States Supreme Court". If the case originated in a state court, note the origin as "State Court". Do not code the name of the state. The courts in the District of Columbia present a special case in part because of their complex history. Treat local trial (including today's superior court) and appellate courts (including today's DC Court of Appeals) as state courts. Consider cases that arise on a petition of habeas corpus and those removed to the federal courts from a state court as originating in the federal, rather than a state, court system. A petition for a writ of habeas corpus begins in the federal district court, not the state trial court. Identify courts based on the naming conventions of the day. Do not differentiate among districts in a state. For example, use "New York U.S. Circuit for (all) District(s) of New York" for all the districts in New York.

Opinion:
GAYES v. NEW YORK.
No. 405.
Argued May 2, 1947.
Decided June 23, 1947.
Herbert Wechsler argued the cause and filed a brief for petitioner.
Harry L. Rosenthal argued the cause and filed a brief for respondent.
Mr. Justice Frankfurter
announced the judgment of the Court in an opinion in which The Chief Justice, Mr. Justice Reed and Mr. Justice Jackson join.
This is another case in which release is sought from confinement under a sentence by a State court following a plea of guilty, on a claim of a denial of due process of law through want of benefit of counsel.
The circumstances are these. On July 15, 1938, Gayes, then a lad of sixteen, was arraigned in the County Court of Monroe County, New York, upon an indictment charging burglary in the third degree and petty larceny. According to the record of conviction, he was asked, in accordance with the requirement of § 308 of the New York Code of Criminal Procedure, whether “he desired the aid of counsel,” and he answered “No.” Imposition of sentence was postponed to July 28. When on that day Gayes appeared for judgment, he was asked, again according to the requirements of New York law, whether “he had any legal cause to show why judgment should not be pronounced against him.” New York Code of Criminal Procedure § 480. And “no sufficient cause appearing,” the record continues, Gayes was committed to a New York State Vocational School to be dealt with there according to law. It appears from the facts before us that Gayes did not stay at this correctional institution as long as New York law would have authorized his detention. See New York Penal Law §§ 2184-a and 2189, in connection with § 407. For, on October 14, 1941, he pleaded guilty, in the County Court of Schenectady, New York, to a new charge of burglary in the third degree. The record of this latter proceeding does not indicate whether this time he was or was not represented by counsel. But no claim is made that this plea of guilty, or the sentence under it, has any infirmity for lack of legal assistance. Gayes’ claim is that he was sentenced as a second offender by the inclusion of the improper sentence to the vocational school in 1938.
In accordance with New York procedure, Gayes, pro se, filed in the County Court of Monroe County, New York, an application to vacate the judgment rendered against him in that court on July 28, 1938. He claimed that in the proceedings which led to that judgment he had not been informed of his “Constitutional Rights of Assistance of Counsel,” that he “could not have understood his rights to Counsel” and that “youths of the age of 16 years cannot Intelligently and Competently waive their rights.” Since, according to this claim, the first sentence was void, he challenged the validity of the sentence in 1941 because the length of the second sentence was partly based upon the 1938 conviction.
Upon this record, the county court denied the motion without opinion. As New York law then stood, no review could there be had of this determination. See People v. Gersewitz, 294 N. Y. 163, 61 N. E. 2d 427. This made the county court the highest court of the State of New York for purposes of our review. Canizio v. New York, 327 U. S. 82, 85. But see Chapter 706 of the New York Laws of 1947. We brought the case here, 329 U. S. 710, as one of a series, for further consideration of the circumstances under which the requirements of due process imply a duty to supply counsel to defendants in State prosecutions.
The guiding principles bearing on the general problem have been set forth in the opinion in Foster v. Illinois, just decided, ante, p. 134. Insofar as the facts of this case present a particular variant, they are controlled by our decision in Canizio v. New York, supra. We there held that whatever doubts may arise from the circumstances of a plea of guilty, if, before sentence is imposed, the opportunities required by the Constitution for meeting the legal implications of the plea are satisfied, the sentence must stand. And so, the questions that may be raised regarding the circumstances attending the imposition of Gayes’ commitment to the vocational institution in 1938 are not now open. Gayes is complaining of his sentence following his plea of guilty in 1941. What he wants is to be relieved of his imprisonment under that sentence. That sentence, to be sure, partly took into account his earlier sentence in 1938. But upon his subsequent sentence, as a second offender, in 1941, he had full opportunity, so far as appears, to contest whatever infirmity he may have claimed in the earlier sentence when the fact of that sentence was included in the sentence which he is now serving. Since the process leading up to the second sentence is not challenged he cannot now, so far as the United States Constitution is concerned, by a flank attack, challenge the sentence of 1938.
Judgment affirmed.
Mr. Justice Burton concurs in the result.
Subsequent to the proceedings before the County Court of Monroe now under review, the minutes of the original proceedings against Gayes came to light. By stipulation of counsel these minutes are here. According to them, the precise question put to Gayes by the Assistant District Attorney in the presence of the Judge was, “Do you need a lawyer before you enter á plea of guilty or not guilty to this indictment?” To which Gayes replied, “No, sir.”- It may be inconclusively debated whether if Gayes was asked “if he desired the aid of counsel,” as stated in the entry in the record of conviction, he was better informed of his rights, than if he was asked, “Do you need a lawyer?” In view of our disposition, the difference in significance becomes immaterial, and it is also immaterial whether, if there were a difference, we could consider, even in a case involving belated release from State detention, a matter not before the court whose judgment is here for review. But the differences that may exist between formal entry in the minutes of an acceptance of a plea and what was actually said contemporaneously lends force to the caution frequently expressed that every intendment must be made in support of the due observance of law in the rendering of judgments which are collaterally attacked, often after a considerable passage of time.
Gayes is detained under the 1941 sentence imposed by the County Court of Schenectady. A motion attacking that sentence would, under New York law, have to be made in that court. What he is asking is the invalidation of the prior sentence, underlying as it were the Schenectady sentence, presumably as a first step in getting relief from detention under the latter sentence. We are treating this proceeding, for our purposes, as one seeking, in effect, relief from the 1941 sentence without regard to formal distinctions which might otherwise be relevant.
According to the State, Gayes could have raised the claim he now makes against the 1938 conviction at the time he was sentenced in 1941, and from a denial of relief could have appealed to the higher courts. This was not contradicted by the petitioner and is not brought into question in any opinion of the higher courts of New York. It has been ruled in courts of very limited authority that a second offender cannot apply for resentence on a claim that there was a defect in the first sentence imposed by another court. See People v. Keller, 37 N. Y. S. 2d 61 (Gen. Sess. N. Y. County), and People v. Paterno, 182 Misc. 491, 50 N. Y. S. 2d 713 (Chatauqua County Court). Neither case, however, presented the claim that a violation of the United States Constitution vitiated the first sentence, and neither case raised the power of the court at the time of sentencing to consider such a claim. It is certainly within the power of a duly advised defendant, before pleading guilty as a second offender, to raise the constitutional invalidity of the first sentence so as to secure opportunity appropriately to challenge such invalidity. Nothing that is herein decided precludes petitioner from raising a denial of his constitutional right upon a record that discloses circumstances other than those before us. An order on such a motion is now reviewable by the New York Supreme Court and in certain instances by the New York Court of Appeals.

Question: What is the court in which the case originated?

Choices:
U.S. Court of Customs and Patent Appeals
U.S. Court of International Trade
U.S. Court of Claims, Court of Federal Claims
U.S. Court of Military Appeals, renamed as Court of Appeals for the Armed Forces
U.S. Court of Military Review
U.S. Court of Veterans Appeals
U.S. Customs Court
U.S. Court of Appeals, Federal Circuit
U.S. Tax Court
Temporary Emergency U.S. Court of Appeals
U.S. Court for China
U.S. Consular Courts
U.S. Commerce Court
Territorial Supreme Court
Territorial Appellate Court
Territorial Trial Court
Emergency Court of Appeals
Supreme Court of the District of Columbia
Bankruptcy Court
U.S. Court of Appeals, First Circuit
U.S. Court of Appeals, Second Circuit
U.S. Court of Appeals, Third Circuit
U.S. Court of Appeals, Fourth Circuit
U.S. Court of Appeals, Fifth Circuit
U.S. Court of Appeals, Sixth Circuit
U.S. Court of Appeals, Seventh Circuit
U.S. Court of Appeals, Eighth Circuit
U.S. Court of Appeals, Ninth Circuit
U.S. Court of Appeals, Tenth Circuit
U.S. Court of Appeals, Eleventh Circuit
U.S. Court of Appeals, District of Columbia Circuit (includes the Court of Appeals for the District of Columbia but not the District of Columbia Court of Appeals, which has local jurisdiction)
Alabama Middle U.S. District Court
Alabama Northern U.S. District Court
Alabama Southern U.S. District Court
Alaska U.S. District Court
Arizona U.S. District Court
Arkansas Eastern U.S. District Court
Arkansas Western U.S. District Court
California Central U.S. District Court
California Eastern U.S. District Court
California Northern U.S. District Court
California Southern U.S. District Court
Colorado U.S. District Court
Connecticut U.S. District Court
Delaware U.S. District Court
District Of Columbia U.S. District Court
Florida Middle U.S. District Court
Florida Northern U.S. District Court
Florida Southern U.S. District Court
Georgia Middle U.S. District Court
Georgia Northern U.S. District Court
Georgia Southern U.S. District Court
Guam U.S. District Court
Hawaii U.S. District Court
Idaho U.S. District Court
Illinois Central U.S. District Court
Illinois Northern U.S. District Court
Illinois Southern U.S. District Court
Indiana Northern U.S. District Court
Indiana Southern U.S. District Court
Iowa Northern U.S. District Court
Iowa Southern U.S. District Court
Kansas U.S. District Court
Kentucky Eastern U.S. District Court
Kentucky Western U.S. District Court
Louisiana Eastern U.S. District Court
Louisiana Middle U.S. District Court
Louisiana Western U.S. District Court
Maine U.S. District Court
Maryland U.S. District Court
Massachusetts U.S. District Court
Michigan Eastern U.S. District Court
Michigan Western U.S. District Court
Minnesota U.S. District Court
Mississippi Northern U.S. District Court
Mississippi Southern U.S. District Court
Missouri Eastern U.S. District Court
Missouri Western U.S. District Court
Montana U.S. District Court
Nebraska U.S. District Court
Nevada U.S. District Court
New Hampshire U.S. District Court
New Jersey U.S. District Court
New Mexico U.S. District Court
New York Eastern U.S. District Court
New York Northern U.S. District Court
New York Southern U.S. District Court
New York Western U.S. District Court
North Carolina Eastern U.S. District Court
North Carolina Middle U.S. District Court
North Carolina Western U.S. District Court
North Dakota U.S. District Court
Northern Mariana Islands U.S. District Court
Ohio Northern U.S. District Court
Ohio Southern U.S. District Court
Oklahoma Eastern U.S. District Court
Oklahoma Northern U.S. District Court
Oklahoma Western U.S. District Court
Oregon U.S. District Court
Pennsylvania Eastern U.S. District Court
Pennsylvania Middle U.S. District Court
Pennsylvania Western U.S. District Court
Puerto Rico U.S. District Court
Rhode Island U.S. District Court
South Carolina U.S. District Court
South Dakota U.S. District Court
Tennessee Eastern U.S. District Court
Tennessee Middle U.S. District Court
Tennessee Western U.S. District Court
Texas Eastern U.S. District Court
Texas Northern U.S. District Court
Texas Southern U.S. District Court
Texas Western U.S. District Court
Utah U.S. District Court
Vermont U.S. District Court
Virgin Islands U.S. District Court
Virginia Eastern U.S. District Court
Virginia Western U.S. District Court
Washington Eastern U.S. District Court
Washington Western U.S. District Court
West Virginia Northern U.S. District Court
West Virginia Southern U.S. District Court
Wisconsin Eastern U.S. District Court
Wisconsin Western U.S. District Court
Wyoming U.S. District Court
Louisiana U.S. District Court
Washington U.S. District Court
West Virginia U.S. District Court
Illinois Eastern U.S. District Court
South Carolina Eastern U.S. District Court
South Carolina Western U.S. District Court
Alabama U.S. District Court
U.S. District Court for the Canal Zone
Georgia U.S. District Court
Illinois U.S. District Court
Indiana U.S. District Court
Iowa U.S. District Court
Michigan U.S. District Court
Mississippi U.S. District Court
Missouri U.S. District Court
New Jersey Eastern U.S. District Court (East Jersey U.S. District Court)
New Jersey Western U.S. District Court (West Jersey U.S. District Court)
New York U.S. District Court
North Carolina U.S. District Court
Ohio U.S. District Court
Pennsylvania U.S. District Court
Tennessee U.S. District Court
Texas U.S. District Court
Virginia U.S. District Court
Norfolk U.S. District Court
Wisconsin U.S. District Court
Kentucky U.S. Distrcrict Court
New Jersey U.S. District Court
California U.S. District Court
Florida U.S. District Court
Arkansas U.S. District Court
District of Orleans U.S. District Court
State Supreme Court
State Appellate Court
State Trial Court
Eastern Circuit (of the United States)
Middle Circuit (of the United States)
Southern Circuit (of the United States)
Alabama U.S. Circuit Court for (all) District(s) of Alabama
Arkansas U.S. Circuit Court for (all) District(s) of Arkansas
California U.S. Circuit for (all) District(s) of California
Connecticut U.S. Circuit for the District of Connecticut
Delaware U.S. Circuit for the District of Delaware
Florida U.S. Circuit for (all) District(s) of Florida
Georgia U.S. Circuit for (all) District(s) of Georgia
Illinois U.S. Circuit for (all) District(s) of Illinois
Indiana U.S. Circuit for (all) District(s) of Indiana
Iowa U.S. Circuit for (all) District(s) of Iowa
Kansas U.S. Circuit for the District of Kansas
Kentucky U.S. Circuit for (all) District(s) of Kentucky
Louisiana U.S. Circuit for (all) District(s) of Louisiana
Maine U.S. Circuit for the District of Maine
Maryland U.S. Circuit for the District of Maryland
Massachusetts U.S. Circuit for the District of Massachusetts
Michigan U.S. Circuit for (all) District(s) of Michigan
Minnesota U.S. Circuit for the District of Minnesota
Mississippi U.S. Circuit for (all) District(s) of Mississippi
Missouri U.S. Circuit for (all) District(s) of Missouri
Nevada U.S. Circuit for the District of Nevada
New Hampshire U.S. Circuit for the District of New Hampshire
New Jersey U.S. Circuit for (all) District(s) of New Jersey
New York U.S. Circuit for (all) District(s) of New York
North Carolina U.S. Circuit for (all) District(s) of North Carolina
Ohio U.S. Circuit for (all) District(s) of Ohio
Oregon U.S. Circuit for the District of Oregon
Pennsylvania U.S. Circuit for (all) District(s) of Pennsylvania
Rhode Island U.S. Circuit for the District of Rhode Island
South Carolina U.S. Circuit for the District of South Carolina
Tennessee U.S. Circuit for (all) District(s) of Tennessee
Texas U.S. Circuit for (all) District(s) of Texas
Vermont U.S. Circuit for the District of Vermont
Virginia U.S. Circuit for (all) District(s) of Virginia
West Virginia U.S. Circuit for (all) District(s) of West Virginia
Wisconsin U.S. Circuit for (all) District(s) of Wisconsin
Wyoming U.S. Circuit for the District of Wyoming
Circuit Court of the District of Columbia
Nebraska U.S. Circuit for the District of Nebraska
Colorado U.S. Circuit for the District of Colorado
Washington U.S. Circuit for (all) District(s) of Washington
Idaho U.S. Circuit Court for (all) District(s) of Idaho
Montana U.S. Circuit Court for (all) District(s) of Montana
Utah U.S. Circuit

Answer: 159