It would be "D". Mi novio lleg'o mientras yo miraba la television. We can eliminate llegar'a and llega immediately because they are not past tenses, but "miraba" is a past tense, so the other verb is usually a past tense. Then between C & D, we need to evaluate whether or not the actions are contemporaneously continuous or one action is an event and the other a continuous event. In this case, arrival is a quick event as opposed to watching television, which takes more time. As a result, it fits into the latter category, which results in us needing lleg'o, the preterite verb for the event.
Llegó