Please answer the following question: Facts:   - profession: statesman    - successor: salih vamık pasha hüseyin avni pasha mustafa reshid pasha    - death date: 1871    - predecessor: mehmed zehrab pasha hekim ismail pasha mustafa reshid pasha    - office: wali of crete grand vizier      - term end: 1851 1857 1867 may 29 , 1854 october 23 ,    - term start: 1830 1857 1866 may 14 , 1853 august 2 ,    - birth date: 1798    - name: mustafa naili    - image: mustafa naili pasha.jpg    - birth place: pojan , ottoman empire -lrb- now in albania -rrb-    - religion: sunni islam   Based on these bullet points, write a short biography describing the life of mustafa naili pasha .
A:
mustafa naili pasha -lrb- or `` giritli mustafa naili paşa '' , literally `` mustafa naili pasha the cretan '' ; 1798 -- 1871 -rrb- was an ottoman statesman who held the office of grand vizier twice during the reign of abdülmecid i , the first time between 14 may 1853 and 29 may 1854 , and the second time between 6 august 1857 and 22 october 1857 .he was raised and started his career in egypt under the protection of kavalalı mehmed ali pasha and was of albanian descent like the founder of modern egypt .he suppressed a rebellion of cretan greeks during the troubles of the 1820s in various aegean islands in league with the greek war of independence and subsequently -lrb- in 1832 -rrb- was appointed governor to crete .on 18 may 1828 he regained frangokastello -lrb- in crete -rrb- , to ottoman control , from hatzimichalis dalianis .the ottoman sultan , mahmud ii , who had been caught unprepared and without an army of his own -lrb- having suppressed the janissaries -rrb- , had been forced to seek the aid of his rebellious vassal and rival in egypt .as of 1832 , mustafa naili pasha administered the island for two decades , which is why ottoman records refer to him as `` giritli '' -lrb- `` the cretan '' -rrb- his rule attempted to create a synthesis between the muslim landowners and the emergent christian commercial classes .mustafa naili pasha 's rule has been generally cautious , pro-british , and he has tried harder to win the support of the cretan greeks -lrb- having married the daughter of a priest and allowed her to remain christian -rrb- than the cretan turks .in 1834 , however , a cretan committee was already set up in athens to work for the union of the island with greece .in 1840 , egypt was forced by palmerston to return crete to direct ottoman rule .for a time , mustafa naili pasha angled unsuccessfully to become a semi-independent prince but the cretan greeks rose up against him , once more driving the muslims temporarily into siege in the towns .an anglo-ottoman naval operation restored...