In Hindu mythology, texts such as the Satapatha Brahmana (dated to around the 6th century BC) and the Puranas contain the story of a great flood, Pralaya, wherein the Matsya Avatar of the Vishnu warns the first man, Manu, of the impending flood, and also advises him to build a giant boat. In Zoroastrian Mazdaism, Ahriman tries to destroy the world with a drought, which Mithra ends by shooting an arrow into a rock, from which a flood springs; one man survives in an ark with his cattle.