Concurrently with the claim of Mahommed Ahmed to be the mandi the same title was claimed by, or for, the head of the Senussites, a confraternity powerful in many regions of North Africa.
This was the longest siege on record, having been protracted for more than twenty years; but in 1667 it was pressed with renewed vigour by the Turks under the grand vizier Ahmed Kuprili, and the city was at length compelled to surrender (September 1669).
1683), Turkish vizier, surnamed "Merzifunli," was a son of Uruj Bey, a notable Sipahi of Merzifun (Marsovan), and brother-in-law to Ahmed Kuprili, whom he succeeded as grand vizier in 1676, after having for some years held the office of Kaimmakam or locum tenens.
After 1707 it began to decline: the governors became independent: a powerful Mahratta confederacy arose in central India; Nadir Shah of Persia sacked Delhi; and Ahmed Shah made repeated invasions.
Ahmed Shah Abdali burst upon India from Afghanistan.