Complex sentence: By the end of the sixteenth century, the Chittagong port had emerged as a thriving port, which attracted both unofficial Portuguese trade and settlement.
Split into simpler sentences: By the end of the sixteenth century. The Chittagong port had emerged as a thriving port, which attracted both unofficial Portuguese trade and settlement.