Narendra Modi was elected the 17th prime minister of India on 26 May 2014.