Yick Wo v. Hopkins, 1886
Mr. Justice [Stanley] Matthews delivered the opinion of the court
[I]n 1880, San Francisco passed a fire-safety ordinance that all laundries operating in wooden buildings be licensed or the owners would risk criminal penalties. After the city government refused to grant licenses to nearly all Chinese laundries while approving those run by whites, Yick Wo, the owner of one rejected establishment, refused to close his business and was prosecuted.
[P]etitioners have complied with every requisite, deemed by the law or by the public officers charged with its administration, necessary for the protection of neighboring property from fire, or as a precaution against injury to the public health. No reason whatever, except the will of the supervisors, is assigned why they should not be permitted to carry on, in the accustomed manner, their harmless and useful occupation, on which they depend for a livelihood. And while this consent of the supervisors is withheld from them and from two hundred others who have also petitioned, all of whom happen to be Chinese subjects, eighty others, not Chinese subjects, are permitted to carry on the same business under similar conditions. The fact of this discrimination is admitted. No reason for it is shown, and the conclusion cannot be resisted, that no reason for it exists except hostility to the race and nationality to which the petitioners belong, and which in the eye of the law is not justified. The discrimination is, therefore, illegal, and the public administration which enforces it is a denial of the equal protection of the laws and a violation of the Fourteenth Amendment of the Constitution. The imprisonment of the petitioners is, therefore, illegal, and they must be discharged.
Source: Yick Wo v. Hopkins, 118 U.S. 356, 374 (1886).