The anti-genre, in literature, comes into being in particular during the mid to late 19th century. Both Fyodor Dostoyevsky's 1864 novel Notes from Underground, with his introduction of the anti-hero (referred to as the Underground Man) as well as Friedrich Nietzsche's The Antichrist published in 1895, represent early works in the tradition.
