Reported speech tenses may differ from the tense of the direct speech. The general rule for tenses in reported speech is that it changes to the past tense. This is called backshifting.
5k