As related in the main article, Matsya, the fish avatar of Vishnu, appears to Manu to warn him of an impending deluge. After being reared by and growing to an enormous size, Matsya then guides Manu's ship to safety at the peak of a mountain, where Manu re-establishes life through the performance of Vedic sacrificial rites (yajna). In Puranic accounts, Matsya also rescues the Vedas taken under the water, after they were stolen from Brahma by the Asura called Hayagriva (not to be confused with Hayagriva, the horse-headed avatar of Vishnu). From the Shatapatha Brahmana: