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
Narendra Modi by his predecessors Singh and Vajpayee. During the first few months after the election, Modi made trips to a number of different countries to further the goals of his policy, and attended the BRICS, ASEAN, and G20 summits. One of Modi's first visits as prime minister was to Nepal, during which he promised a billion USD in aid. Modi also made several overtures to the United States, including multiple visits to that country. While this was described as an unexpected development, due to the US having previously denied Modi a travel visa over his role during the 2002 Gujarat riots,