In reality, the political pressure aimed against the Chinese immigrants that started gaining momentum after the two-day riots, culminated in what was named the "Chinese Exclusion Act," a United States federal law signed in 1882, prohibiting all immigration of Chinese laborers. It "was the first, and remains the only law, to have been implemented to prevent all members of a specific ethnic or national group from immigrating to the United States" (Wikipedia). Though often circumvented, it officially stayed in effect well beyond the end of World War II.
The events that unfold suggest that the character Dylan Leary is somewhat inspired by the real historical figure Denis Kearney, who in the wake of the San Francisco riots, formed a new political party, which became instrumental in ostracizing Chinese people from American society. His political party, Workingmen's Party of California, gained a quick rise to power, which it used for instance to rewrite the state's constitution to deny "Chinese citizens voting rights in California" (Wikipedia).
During the fight between Ah Sahm and Leary, Leary kicks Ah Sahm in the chest, leaving a footprint on him. This also occurs when Bruce Lee fights Kareem Abdul-Jabbar in Game of Death (1978).