Historical fiction is a literary genre in which the plot takes place in a setting located in the past.