As a literary genre, fantasy is one of the oldest and most recent. Although modern fantasy only began to be recognized as a distinct genre in the late twentieth century, thanks largely to the popularity of J. R. R. Tolkien and his imitators, its roots can be traced back millennia.