Original: The coastal areas of the island were taken over by the Dutch and then became part of the British Empire in 1796 AD.
Simplified: However, in 1796, the British won entire Sri Lanka, Sri Lanka became part of the British Empire.