In Norse mythology, Gram was the name of the sword that Sigurd (Siegfried) used to kill the dragon Fafnir. It originally belonged to his father, Sigmund, who received it after pulling it out of a log into which Odin had stuck it -- nobody else could pull it out. See Sigurd for more details on the story of Siegfried and Fafnir.