Christianity has a long history in what is now Sudan. Ancient Nubia was reached by Coptic Christianity by the 2nd century. The Coptic Church was later influenced by Byzantine Christianity. From the 7th century, the Christian Nubian kingdoms were threatened by the Islamic expansion, but the southernmost of these kingdoms, Alodia, survived until 1504.