Conversation so far:

Question: When was he in the prime minister candidacy?
Self-contained rewrite: When was L. K. Advani in the prime minister candidacy?