Historical fiction is a literary genre in which the plot takes place in a setting related to the past events, but is fictional. Wikipedia

War and Peace
Lev Nikolayevich Tolstoy

The Three Musketeers
Alexandre Dumas

Middlemarch
George Eliot

A Tale of Two Cities
Charles Dickens