The interdynastic rivalry and seasonal raids into each other's territory notwithstanding, the rulers in the Deccan and South India patronized all three religions - Buddhism, Hinduism, and Jainism. The religions vied with each other for royal favor, expressed in land grants but more importantly in the creation of monumental temples, which remain architectural wonders. The cave temples of Elephanta Island (near Mumbai or Bombay, as it was known formerly), Ajanta, and Ellora (in Maharashtra), and structural temples of Pattadakal, Aihole, Badami in Karnataka and Mahaballipuram and Kanchipuram in Tamil Nadu are enduring legacies of otherwise warring regional rulers.