Battle of Petra

A peace treaty between the Sublime Porte and the revolutionaries was imminent but it became apparent that the soon to be created Greek state would be limited to whatever lands had been liberated during the war.

In August, Aslan Bey and Osman Aga set off from Athens after leaving behind a small garrison with a force of 7,000 Ottoman Albanians to fight the Russians in Thrace.

1822–1824 Greek civil wars of 1824–1825 Egyptian intervention (1825–1826) Great powers intervention (1827–1829) The Greek Army under Demetrios Ypsilantis, which for the first time trained to fight as a regular European army rather than as guerilla bands, awaited Aslan Bey's forces at Petra, a town at a narrow passage in Boeotia between Livadeia and Thebes in order to dispute their passage.

According to the truce, the Ottomans would surrender all lands from Livadeia to the Spercheios River in exchange for safe passage out of Central Greece.

As George Finlay stresses:[4] Thus Prince Demetrios Ypsilantis had the honour of terminating the war which his brother had commenced on the banks of the Pruth.