From 1850 through 1900, anti-Chinese nativist sentiment resulted in the passage of innumerable laws, many of which remained in effect well into the middle of the 20th century. The most flagrant episode was probably the creation and ratification of a new state constitution in 1879. Thanks to vigorous lobbying by the anti-Chinese Workingmen's Party, led by Denis Kearney (an immigrant from Ireland), Article XIX, Section 4 forbade corporations from hiring Chinese "coolies", and empowered all California cities and counties to completely expel Chinese persons or to limit where they could reside. The law was repealed in 1952.