Question: has moved or had moved?
Answer: When you write reported speech (reporting speech that occurred in the past), are changes to were and moved changes to had moved. To put it more simply the "had moved" occurred two years earlier than the "told/said" which you are using past tense to describe.