Despite vigorous revolutionary activity in the Greek War of Independence of 1821, Macedonia, of which Halkidiki was a part, was forced to remain under the empire. In 1912 the Kingdom of Greece combined with other Balkan states to liberate Macedonia from Ottoman rule in the Balkan Wars. Macedonia was then divided among the victors, Greece receiving south Macedonia, with Thessaloniki and Halkidiki. In 1922 the Turkish people abolished the empire in favor of the Turkish Republic. In the 1923 population exchange consequent on the border settlement with Greece, Ierissos received an influx of Anatolian Greeks.