 This was the last time the Ottomans invaded Mani.In 1821, the rest of Greece declared its independence.During the war, Egyptians under Ibrahim Pasha invaded Mani, but were repelled by the Maniots under Petros Mavromichalis at the Battle of Vergas.