California 1855 ‘Greaser’ Act — [using a Texas-origin ethnic slur… -CJ]
Ian F. Haney López, White By Law: The Legal Construction of Race (New York: New York University Press, 1996), 144-146.
It may be that those who draft or support such laws are unconscious racists in the sense that they operate under the influence of prevalent social prejudices but cannot admit even to themselves the racial antipathies that rule their fears and desires. Racial prejudice against immigrants is a long tradition in the United States, evident  certainly in the prerequisite cases. In the western states, racial discrimination against Mexicans shares an almost equally long history, appearing for example in California’s 1855 “Greaser Act,” an antiloitering law that applied to “all persons who are commonly known as ‘Greasers’ or the issue of Spanish and Indian blood . . . and who go armed and are not peaceable and quiet persons.” Prejudice forms an established part of the contemporary social fabric, even as it stands in contradiction to society’s expressed disapproval of racial discrimination. Racial prejudice, though not consciously recognized as such, exists at a level that motivates and directs social hostility, giving it rhetorical and, more importantly, legal form.
The relative lack of intentional racial animus behind Proposition 187 and similar anti-immigrant legislation does not reduce the effect such laws have in maintaining and deepening racial hierarchies. […] Anti-immigrant laws, drawing on deep social beliefs in racial hierarchy, give effect to and entrench those same social beliefs.
The prevalence and daily material reinforcement of racist beliefs in our society ensure the continued legal construction of race in the form of ostensibly neutral but  actually discriminatory laws put forward by those who assure us, and are genuinely convinced of, their own good intentions.
- Act of April 30, 1855, ch. 175, § 2, 1855, Cal. Stat. 217, excerpted in ROBERT F. HEIZER and ALAN J. ALMQUIST, THE OTHER CALIFORNIANS: PREJUDICE AND DISCRIMINATION UNDER SPAIN, MEXICO, AND THE UNITED STATES 151 (1971).↩