Which two historical elements may influence a story?

the author’s biographical details

the place where the story was published

major events such as a war or natural disaster

events that took place during the publication of the story