Complex sentence: The island was historically under Danish rule, but became Swedish in 1658, as the rest of Scania was ceded to Sweden by the Treaty of Roskilde.
Split into simpler sentences: The island was historically under Danish rule. The Swedish took over control in 1658, as the rest of Scania was ceded to Sweden by the Treaty of Roskilde.