In the pre-Islamic period on the island of Java, Shaivism and Buddhism were considered very close and allied religions, though not identical religions. The medieval era Indonesian literature equates Buddha with Siwa (Shiva) and Janardana (Vishnu). This tradition continues in predominantly Hindu Bali Indonesia in the modern era, where Buddha is considered the younger brother of Shiva.