Backshift
DirectIndirect
simple present: is, goessimple past: was, went
present continuous: is goingpast continuous: was going
present perfect: has gonepast perfect: had gone
simple past: wentpast perfect: had gone
will, can, maywould, could, might
must (obligation)had to

Backshift the tense, apply SON to the pronouns, and move the time and place words away from the speaker. Said to becomes told.

— Rule to remember

Key takeaways. Three kinds of change: tense, pronouns, time and place. Use told when the listener is named.