Gujarat following the loss of two assembly seats in by-elections, Keshubhai Patel resigned and yielded power to Narendra Modi. BJP retained a majority in the 2002 election, and Narendra Modi remained as Chief Minister. On 1 June 2007, Narendra Modi became the longest serving Chief Minister of Gujarat. BJP retained the power in subsequent elections in 2007 and 2012 and Narendra Modi continued as the Chief Minister. After Narendra Modi became the Prime Minister of India in 2014, Anandiben Patel became the first female Chief Minister of the state.Vijay Rupani took over as Chief Minister and Nitin Patel as Dy. Chief
Foreign policy of the Narendra Modi government This included meeting Japanese Prime Minister, Shinzo Abe twice in 2007 and 2012 and building a personal rapport. He also reached out for investment deals with China and Israel, who sought to increase economic ties beyond defence and agriculture, according to outgoing Israeli Ambassador Alon Ushpiz. He was widely appreciated for his endeavour to organise Vibrant Gujarat, a biannual international business summit, to welcome investment in his home state which also helped build a pro-development and business friendly image. Though Modi made no major foreign policy speeches during the general election campaign in 2014 except calling out China's potential aggression