The first encounter of the Spanish authorities with the Chinese was not entirely pleasant - several Chinese pirates under the leadership of Limahong, who proceeded to besiege the newly established Spanish capital in Manila in 1574.
The Spanish authorities differentiated the Chinese immigrants into two groups: Parían (unconverted) and Binondo (converted).