"The Devil" is a novella by Leo Tolstoy. It was written in 1889, given an alternative ending in 1909, but published only posthumously in 1911. Like Tolstoy's The Kreutzer Sonata, written around the same time, "The Devil" deals with the consequences of sexual emotion.