Answer:
Indirect object of (did expect)
Explanation:
You use whom—which is a pronoun—when it is the object of a sentence. If you can replace the word with "her," "him," or "them" for example, use "whom." You'll know when to use "whom" if the pronoun is used in the objective case, or action is being done to the pronoun. But, you usually add a preposition before whom, such as: To whom did you expect to win the World Series?