One example of a fictional character is Gimli.
In J. R. R. Tolkien 's legendarium , Elves are one of the races that inhabit a fictional Earth , often called Middle-earth , and set in the remote past . Gimli (Middle-earth) . 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 .