Narendra Modi the political realignment away from a secular, socialist state towards capitalism and Hindu cultural nationalism. Modi himself was a candidate for the Lok Sabha in two constituencies: Varanasi and Vadodara. He won in both constituencies, defeating Aam Aadmi Party leader Arvind Kejriwal in Varanasi and Madhusudan Mistry of the INC in Vadodara by votes. Modi, who was unanimously elected leader of the BJP, was appointed prime minister by India's president. To comply with the law that an MP cannot represent more than one constituency, he vacated the Vadodara seat. Modi was sworn in as the Prime Minister of India on
Narendra Modi completed 2,063 consecutive days as chief minister of Gujarat, making him the longest-serving holder of that post, and the BJP won 122 of 182 state-assembly seats in that year's election. As Chief Minister, Modi favoured privatisation and small government, which was at odds with the philosophy of the RSS, usually described as anti-privatisation and anti-globalisation. His policies during his second term have been credited with reducing corruption in the state. He established financial and technology parks in Gujarat and during the 2007 Vibrant Gujarat summit, real-estate investment deals worth 6.6 trillion were signed. The governments led by Patel and Modi