After thorough researching, the law that states that the "Chinese laborers to this country endanger the good order of certain localities" in the United States and would represent a "locality" that would most likely have wanted this law created and passed is San Francisco.