 Most returned to China after the Central Pacific was built.Those who stayed mostly moved to the Chinatown in San Francisco and a few other cities, where they were relatively safe from violent attacks they suffered elsewhere.From 1850 through 1899, anti-Chinese nativist sentiment resulted in the passage of many laws, many of which remained in effect well into the middle of the 20th century.