In Los Angeles, Yellow Peril racism provoked the Chinese Massacre of 1871, wherein 500 white men lynched 20 Chinese men in the Chinatown ghetto. Throughout the 1870s and 1880s, the leader of the Workingmen's Party of California, the demagogue Denis Kearney, successfully applied Yellow Peril ideology to his politics against the press, capitalists, politicians, and Chinese workers, and concluded his speeches with the epilogue: "and whatever happens, the Chinese must go!" The Chinese people also were specifically subjected to moralistic panics about their use of opium, and how their use made opium popular among white people. As in the case of Irish-Catholic immigrants, the popular press misrepresented Asian peoples as culturally subversive, whose way of life would diminish republicanism in the U.S.; hence, racist political pressure compelled the U.S. government to legislate the Chinese Exclusion Act (1882), which remained the effective immigration-law until 1943. Moreover, following the example of Kaiser Wilhelm II's use of the term in 1895, the popular press in the U.S. adopted the phrase "yellow peril" to identify Japan as a military threat, and to describe the many emigrants from Asia.