Complex sentence: After James Brooke taken Sarawak (present day Kuching) from the Bruneian Empire, improved security in the area attracted an influx of Chinese immigrants into this place.
Split into simpler sentences: After James Brooke took Sarawak (present day Kuching) from the Bruneian Empire, security in the area improved. This has attracted an influx of Chinese immigrants into this place.