His predecessor Ibrahim ben Ramdan, who suffered from dysentery, elected his nephew and Khaznadar (treasurer) as his successor and abdicated on October 20, 1745.
Shortly after sitting on the throne, he would launch an expedition to the Regency of Tunis against the Bey Ali I Pasha, after attacking his neighbor Tripoli, and also ally of the Dey, and even told him to commit suicide.
After putting the city of El Kef under siege, peace was quickly achieved thanks to the submissions that Ali made, and the need of Ibrahim to take his troops to Constantine.
Ibrahim mobilised his entire army against them and eventually defeated them, but ended up ordering the massacre of more of them, after their intentions of overthrowing the government of Algiers were confirmed.
[7] His khodjet al khil (Minister of Horses) Mohamed Ibn Bekir was elected as his successor.