A community of Chinese immigrants settled in in Barcelona in the 1870s, fleeing, I think, the Opium Wars and turmoil in the Philippines. They lived in extremely poor conditions in the Camp de la Bota where the Forum is sited today . The area was known for some time as the “Barrio de Pekin”. As the years went by, more immigrants were attracted to the area and the shanty town grew. The Chinese were probably assimilated into the city’s population. Many of the shacks were swept away in sea storms in the 1920s, though with the building boom of the 1929 Universal Exposition, more arrived.
The above painting, Platja de Pequín (Pequín beach), was painted by Isidre Nonell in 1901. More from Wikipedia