Istanbul was forced to recognize this powerful thorn in its side as a semi-autonomous part of the empire , and granted hereditary status to the role of Pasha of Egypt .
Istanbul resisted outside influence in their government from Egypt .