The Muslim-Christian relationship in Ethiopia has a mixed historical background. Ethiopia is located on a religious fault line, although the relationship between the two religions has been reasonably cordial in recent decades. Christian rule has prevailed in the Ethiopian highlands since the early 4th century. Early in the 7th century a group of Arab followers of Islam in danger of persecution by local authorities in Arabia took refuge in the Axumite Kingdom of the Ethiopian highlands.
As a result of this generosity, the Prophet Mohammed concluded that Ethiopia should not be targeted for jihad. Not all Muslims took this message seriously and subsequent contact was less cordial. In the late 15th century, Islamic raids from the Somali port of Zeila plagued the Ethiopian highlands. In the first half of the 16th century, the Islamic threat became more serious when Ahmad ibn Ibrahim al Ghazi rallied a diverse group of Muslims in a jihad to end Christian power in the highlands. The Ethiopians finally defeated this threat by the middle of the 16th century.
Although Wahhabi missionaries from the Arabian Peninsula made efforts to penetrate Ethiopia beginning in the 19th century, they had little success until recent decades. During the first half of the 1800s, Egyptian/Ottoman power in neighboring Sudan made periodic incursions inside Ethiopia. In 1875, the khedive of Egypt tried unsuccessfully to conquer Ethiopia entering from the Red Sea.