Malik Ibrahim was, however, according to Javanese tradition one of the first nine apostles of Islam in Java (the Wali Sanga) although no documentary evidence exists for this tradition. In the late 15th century, the powerful Majapahit empire in Java was at its decline. After had been defeated in several battles, the last Hindu kingdom in Java fell under the rising power of Islamised Kingdom of Demak in 1520.