Pyrgoi were liberated from the Ottoman empire by the Kingdom of Greece in 1912 in the Balkan wars.