Tolstoy wrote a number of stories about the war in the Caucasus. The Cossacks (1862), "A Prisoner of the Caucasus" (1872), and Khadji-Murat (1896-1904; published posthumously) are the most important of these.