Background: Narendra Damodardas Modi (Gujarati: ['n@re:ndr@ da:mo:d@r'da:s 'mo:di:] ( listen); born 17 September 1950) is an Indian politician serving as the 16th and current Prime Minister of India since 2014. He was the Chief Minister of Gujarat from 2001 to 2014, and is the Member of Parliament for Varanasi.
Context: During Modi's second term the rhetoric of the government shifted from Hindutva to Gujarat's economic development. Modi curtailed the influence of Sangh Parivar organisations such as the Bharatiya Kisan Sangh (BKS) and the Vishva Hindu Parishad (VHP), entrenched in the state after the decline of Ahmedabad's textile industry, and dropped Gordhan Zadafia (an ally of former Sangh co-worker and VHP state chief Praveen Togadia) from his cabinet. When the BKS staged a farmers' demonstration Modi ordered their eviction from state-provided houses, and his decision to demolish 200 illegal temples in Gandhinagar deepened the rift with the VHP. Sangh organisations were no longer consulted or informed in advance about Modi's administrative decisions. Nonetheless, Modi retained connections with some Hindu nationalists. Modi wrote a foreword to a textbook by Dinanath Batra released in 2014, which stated that ancient India possessed technologies including test-tube babies. Modi's relationship with Muslims continued to attract criticism. Prime Minister Atal Bihari Vajpayee (who asked Modi for tolerance in the aftermath of the 2002 Gujarat violence and supported his resignation as chief minister) distanced himself, reaching out to North Indian Muslims before the 2004 Lok Sabha elections. After the elections Vajpayee called the violence in Gujarat a reason for the BJP's electoral defeat and said it had been a mistake to leave Modi in office after the riots. Questions about Modi's relationship with Muslims were also raised by many Western nations during his tenure as chief minister. Modi was barred from entering the United States by the State Department, in accordance with the recommendations of the Commission on International Religious Freedom formed under the aegis of the International Religious Freedom Act, the only person denied a US visa under this law. The UK and the European Union refused to admit him because of what they saw as his role in the riots. As Modi rose to prominence in India, the UK and the EU lifted their bans in October 2012 and March 2013, respectively, and after his election as prime minister he was invited to Washington. During the run-up to the 2007 assembly elections and the 2009 general election, the BJP intensified its rhetoric on terrorism. In July 2006, Modi criticised Prime Minister Manmohan Singh " for his reluctance to revive anti-terror legislation" such as the 2002 Prevention of Terrorism Act. He asked the national government to allow states to invoke tougher laws in the wake of the 2006 Mumbai train bombings. In 2007 Modi authored Karmayog, a 101-page booklet discussing manual scavenging. In it, Modi argued that scavenging was a "spiritual experience" for Dalits. However, this book was not circulated that time because of the election code of conduct. After the November 2008 Mumbai attacks, Modi held a meeting to discuss the security of Gujarat's 1,600-kilometre (990 mi)-long coastline, resulting in government authorisation of 30 high-speed surveillance boats. In July 2007 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 Rs6.6 trillion were signed. The governments led by Patel and Modi supported NGOs and communities in the creation of groundwater-conservation projects. By December 2008, 500,000 structures had been built, of which 113,738 were check dams, which helped recharge the aquifers beneath them. Sixty of the 112 tehsils which had depleted the water table in 2004 had regained their normal groundwater levels by 2010. As a result, the state's production of genetically modified cotton increased to become the largest in India. The boom in cotton production and its semi-arid land use led to Gujarat's agricultural sector growing at an average rate of 9.6 percent from 2001 to 2007. Public irrigation measures in central and southern Gujarat, such as the Sardar Sarovar Dam, were less successful. The Sardar Sarovar project only irrigated 4-6% of the area intended. Nonetheless, from 2001 to 2010 Gujarat recorded an agricultural growth rate of 10.97 percent - the highest of any state. However, sociologists have pointed out that the growth rate under the 1992-97 INC government was 12.9 percent. In 2008 Modi offered land in Gujarat to Tata Motors to set up a plant manufacturing the Nano after a popular agitation had forced the company to move out of West Bengal. Several other companies followed the Tata's to Gujarat. The Modi government finished the process of bringing electricity to every village in Gujarat that its predecessor had almost completed. Modi significantly changed the state's system of power distribution, greatly impacting farmers. Gujarat expanded the Jyotigram Yojana scheme, in which agricultural electricity was separated from other rural electricity; the agricultural electricity was rationed to fit scheduled irrigation demands, reducing its cost. Although early protests by farmers ended when those who benefited found that their electricity supply had stabilised, according to an assessment study corporations and large farmers benefited from the policy at the expense of small farmers and labourers. During the 2012 campaign, Modi attempted to identify himself with the state of Gujarat, a strategy similar to that used by Indira Gandhi during the Emergency, and projected himself as protecting Gujarat against persecution by the rest of India. Despite the BJP's shift away from explicit Hindutva, Modi's election campaign in 2007 and 2012 contained elements of Hindu nationalism. Modi only attended Hindu religious ceremonies, and had prominent associations with Hindu religious leaders. During his 2012 campaign he twice refused to wear articles of clothing gifted by Muslim leaders. He did, however, maintain relations with Dawoodi Bohra. His campaign included references to issues known to cause religious polarisation, including to Afzal Guru and the killing of Sohrabuddin Sheikh. The BJP did not nominate any Muslim candidates for the assembly election of 2012. He had published a Gujarati book titled Jyotipunj in 2008, containing profiles of various RSS leaders. The longest was of M. S. Golwalkar, under whose leadership the RSS expanded and whom Modi refers to as Pujniya Shri Guruji ("Guru worthy of worship"). According to The Economic Times, his intention was to explain the workings of the RSS to his readers and to reassure RSS members that he remained ideologically aligned with them. Modi authored eight other books, mostly containing short stories for children. While campaigning for the 2012 assembly elections, Modi made extensive use of holograms and other technologies allowing him to reach a large number of people, something he would repeat in the 2014 general election. In the 2012 Gujarat Legislative Assembly elections, Modi won the constituency of Maninagar by 86,373 votes over Shweta Bhatt, the INC candidate and wife of Sanjiv Bhatt. The BJP won 115 of the 182 seats, continuing its majority during his tenure and allowing the party to form the government (as it had in Gujarat since 1995). In later by-elections the BJP won four more assembly seats and two Lok Sabha seats held by the INC, although Modi did not campaign for its candidates. In 2013, the Wharton India Economic Forum (WIEF) at the Wharton School of the University of Pennsylvania cancelled a keynote video-conference speech by Modi following protests by Indian-Americans. After his election as prime minister, Modi resigned as the chief minister and as an MLA from Maninagar on 21 May 2014. Anandiben Patel succeeded him as the chief minister.
Question: How did this affect his campaing?. Whats the answer?
Modi only attended Hindu religious ceremonies, and had prominent associations with Hindu religious leaders.