Complex sentence: Consequently, the population often used the fortress as a refuge, but after the raids in 1535 led by Ottoman pirates Khayr al-Dīn and Dragut, the fortress was destroyed and those who had taken shelter there were kidnapped or robbed.
Split into simpler sentences: Consequently, the population often used the fortress as a refuge. But after the raids in the 1530s, led by Ottoman pirates Khayr al-Dīn and Dragut, the fortress was destroyed and those who had taken shelter there were kidnapped or robbed.