Complex sentence: It was made into a colonial port town during the Portuguese occupation of the Jaffna peninsula in 1619 who lost it to the Dutch, only to lose it to the British in 1796.
Split into simpler sentences: It was made into a colonial port town during the Portuguese occupation of the Jaffna peninsula in 1619. The Dutch, took it from the Portuguese, only to lose it to the British in 1796.