Gimli is chosen to represent the race of Dwarves in the Fellowship of the Ring. As such, he is one of the primary characters of the novel. In the course of the adventure, Gimli aids the Ring-bearer, participates in the War of the Ring, and becomes close friends with Legolas, overcoming an ancient enmity of Dwarves and Elves.