The spread of Christianity throughout the empire in the 4th century, and the transformation of Egypt's capital Alexandria into a major Christian center, decisively ended the tradition, due to the new religion being incompatible with the traditional implications of being pharaoh.