In 1504 the Funj are recorded to have founded the Kingdom of Sennar, in which Abdallah Jamma's realm was incorporated. By 1523, when Jewish traveler David Reubeni visited Sudan, the Funj state already extended as far north as Dongola. Meanwhile, Islam began to be preached on the Nile by Sufi holymen who settled there in the 15th and 16th centuries and by David Reubeni's visit king Amara Dunqas, previously a Pagan or nominal Christian, was recorded to be Muslim. However, the Funj would retain un-Islamic customs like the divine kingship or the consumption of alcohol until the 18th century. Sudanese folk Islam preserved many rituals stemming from Christian traditions until the recent past.