Elements of the supernatural and the fantastic were an element of literature from its beginning, though the idea of a distinct genre, in the modern sense, is less than two centuries old.