Original sentence: In 1544, following the raids by the Muslim corsair, Barbarossa Kheir-ed-Din, several medieval buildings were constructed to protect the coast from the Barbary pirates who continued to attack and plunder the coastal villages
Edited sentence: In 1544, following the raids by Muslim corsair, Barbarossa Kheir-ed-Din, several medieval buildings were constructed to protect the coast from the Barbary pirates who continued to attack and plunder the coastal villages