The Egyptian invasion of Syria in 1831-1832 allowed Mohammed Pasha Mir Kôr, Emir of Soran, to expand his realm, and he seized Jazirat Ibn ʿUmar in 1833. The Ottoman response to Mir Kôr was delayed by the war with Egypt until 1836, in which year Jazirat Ibn ʿUmar was retaken by an army led by Reşid Mehmed Pasha. Reşid deposed Saif al-Din Shir, Emir of Bohtan and "mütesellim" of Jazirat Ibn ʿUmar, and he was replaced by Bedir Khan Beg. In 1838, an Ottoman army was sent to Jazirat Ibn ʿUmar during the campaign to suppress the rebellion of Abdul Agha and Khan Mahmud in the vicinity of Lake Van. The German adviser Helmuth von Moltke the Elder accompanied the Ottoman army and reported back to the Ottoman government from Jazirat Ibn ʿUmar in June 1838. Bedir Khan reportedly established a munitions and arms factory at the city.