Mahmud II became desperate and during 1824 called on his Viceroy, Muhammad Ali of Egypt, to aid him to attack Mani. Ali promised to aid him in return for the islands of Crete and Cyprus, as well as making his eldest son, Ibrahim Pasha of Egypt, pasha of the Peloponnese. Mahmud II accepted the offer and Ali sent his son in command of the expedition. Meanwhile, the Greeks were in disarray because of political rivalries, which caused a civil war. Kolokotronis was arrested, his son Panos was killed, and his nephew Nikitaras fled.