A social history of Chinese immigration and the resulting ethnic antagonism, 1848-1882