Muhammad Ali went to Arabia to prosecute the war against the Ibn Saud in 1813, Ibrahim was left in command of Upper Egypt.