The term is analepsis, commonly known as a flashback: a narrative technique that jumps back to earlier events relevant to the present story.