The correct answer is D. ate.
The other options are incorrect because they do not agree with the tense of the sentence. The sentence is in the past tense, so the verb must also be in the past tense. A. eat is in the present tense, B. did ate is not a correct verb form, and C. eating is the present participle form of the verb.
The sentence is about something that happened in the past, so the verb must be in the past tense. The verb "eat" is conjugated as "ate" in the past tense.
Here are some examples of other sentences in the past tense:
- I ate dinner last night.
- We went to the store yesterday.
- They played basketball on Saturday.