Korematsu v. United States, 323 U.S. 214 (1944), was a landmark decision by the Supreme Court of the United States to uphold the exclusion of Japanese Americans from the West Coast Military Area during World War II. The decision has been widely criticized, with some scholars describing it as "an odious and discredited artifact of popular bigotry", and as "a stain on American jurisprudence". The case is often cited as one of the worst Supreme Court decisions of all time. Chief Justice John Roberts repudiated the Korematsu decision in his majority opinion in the 2018 case of Trump v. Hawaii.

In the aftermath of Imperial Japan's attack on Pearl Harbor, President Franklin D. Roosevelt had issued Executive Order 9066 on February 19, 1942, authorizing the U.S. War Department to create military areas from which any or all Americans might be excluded. Subsequently, the Western Defense Command, a U.S. Army military command charged with coordinating the defense of the West Coast of the United States, ordered "all persons of Japanese ancestry, including aliens and non-aliens" to relocate to internment camps. However, a 23-year-old Japanese-American man, Fred Korematsu, refused to leave the exclusion zone and instead challenged the order on the grounds that it violated the Fifth Amendment.

In a majority opinion joined by five other justices, Associate Justice Hugo Black held that the need to protect against espionage by Japan outweighed the rights of Americans of Japanese ancestry. Black wrote that "Korematsu was not excluded from the Military Area because of hostility to him or his race", but rather "because the properly constituted military authorities ... decided that the military urgency of the situation demanded that all citizens of Japanese ancestry be segregated from the West Coast" during the war against Japan. Dissenting justices Frank Murphy, Robert H. Jackson, and Owen J. Roberts all criticized the exclusion as racially discriminatory; Murphy wrote that the exclusion of Japanese "falls into the ugly abyss of racism" and resembled "the abhorrent and despicable treatment of minority groups by the dictatorial tyrannies which this nation is now pledged to destroy."
Can you summarize the Korematsu case?
Korematsu v United States was a Supreme Court decision that upheld the removal of citizens of Japanese descent from the West Coast of the US during WWII. The decision has been widely criticized and is often cited as one of the worst Supreme Court decisions in US history. The case was repudiated by the court in 2018. 

The case was brought by Fred Korematsu, who refused to move and challenged the order on the grounds that it violated the Fifth Amendment. 

The majority held that the need to protect the US against espionage by Japan outweighed the individual rights of Japanese-American citizens during wartime. Three dissenting justices argued that the removal was racially discriminatory.