I think the only way it would be Fanfic is if you were using a historical character made up by someone in the past, i.e. Frankenstein, Dracula, Bible characters, Grimm fariytales, the Canterbury tales, and such. Otherwise, it's just a historical fiction.