The May election prevented Mr. Vajpayee from serving a fourth term as India 's prime minister .