Complex sentence: Meanwhile, Ali Pasha, who had been behaving with violence towards the French in Alexandria, received a "hatt-i sherif" from the sultan, which he sent by his secretary to Cairo.
Split into simpler sentences: Meanwhile, Ali Pasha had been behaving with violence towards the French in Alexandria. He received a "hatt-i sherif" from the sultan, which the governor sent with his secretary to Cairo.