Complex sentence: It was later invaded and became a part of the Ottoman Empire, during that time, the Greek War of Independence occurred in the area in 1821 but their battle was lost.
Split into simpler sentences: It was later invaded and became a part of the Ottoman Empire. During that time, the Greek War of Independence occurred in the area in 1821 but their battle was lost.