Then Ali took control . He was very popular with many , but he was not accepted as caliph by the governors of Egypt . Ali then took control but was not universally accepted as caliph by the governors of Egypt , and later by some of his own guard .