Correct answer: He told me that he expected me to attend the function
When the reporting verb is in the past (said) and the direct speech is in the present indefinite tense (simple present tense), then the indirect (reported) speech will change into the past indefinite tense.