 Complete the following phrase:  Crete took part in the Greek War of Independence, but the local uprising was suppressed with the aid of Muhammad Ali of Egypt. The island remained under Egyptian control until 1840, when it was restored to full Ottoman authority. Following the Cretan Revolt 18661869 and especially the Pact of Halepa in 1878, the island received significant autonomy, but Ottoman violations of the autonomy statutes and Cretan aspirations for eventual union with the Kingdom of Greece led to the Cretan Revolt of 18971898 and the 