Complex sentence: In the first half of the XV century its walls are built, during this period Ortona fought with the nearby town of Lanciano in a fierce war that terminated in 1427.
Split into simpler sentences: In the first half of XV century its walls are built. During this period, Ortona harshely fought with the nearby town of Lanciano a war that terminated in 1427.