Gandalf's sword is named Glamdring, also known as the 'Foe-hammer.' It is an ancient sword of high elven make. Gandalf acquires Glamdring from a troll's hoard in "The Hobbit," and it becomes his primary weapon throughout both "The Hobbit" and "The Lord of the Rings" series.