In the twentieth century, realism led to naturalism.
Literary realism is part of the realist art movement which initiated with mid-nineteenth-century French literature (Stendhal), and Russian literature (Alexander Pushkin) and extending to the late nineteenth and early twentieth century.
Naturalism is a literary movement beginning in the late nineteenth century, alike to literary realism in its rejection of Romanticism.