In Norse mythology, Andvari is a dwarf who can assume the shape of a fish if he is pursued. He lives underneath a waterfall and collects great wealth with the help of his ring Andvaranaut. He was caught by Loki with a net provided by the goddess Ran and forced the yield all the gold he possessed. The dwarf tried to withhold his ring so that he could rebuild his wealth. Loki made him give up the ring as well and the dwarf cursed the stolen gold which would from then on bring disaster to all who owned it. The gold was used by the gods to pay a blood-debt to pay Hreidmar, the father of Fafnir, because they had killed his son Otter. This myth formed in later times the prelude to the Nibelungsaga.