In San Francisco, hostile attitudes developed towards the new Chinese immigrants. These were mostly economic male migrants or immigrants who came to escape the Chinese Civil War. This eventually led to the Chinese Exclusion Act where the government placed a significant restriction law on Chinese immigrants.