@Noel
We use did to make a question in the past tense.
This is for regular AND irregular verbs in English.
(Exception is To Be and Modal Verbs such as Can)
Compare the following:
Present: Do they live in France?
Past: Did they live in France?
The main verb (live in the example above) is in...