 Sulayman continued working with Farhi and employed him much as his own father had.Sulayman held sway over the region until his death in 1819, when he bequeathed his power to Farhi's adopted son, Abdullah Pasha ibn Ali, the orphan of a bey who had died prematurely.However, Abdullah determined to rid himself of his foster-father, Farhi.