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 of the violence there were widespread calls for Modi to resign as chief minister from within and outside the state, including from leaders of the Dravida Munnetra Kazhagam and the Telugu Desam Party (allies in the BJP-led National Democratic Alliance coalition), and opposition parties stalled Parliament over the issue. Modi submitted his resignation at the April 2002 BJP national executive meeting in Goa, but it was not accepted. His cabinet had an emergency meeting on 19 July 2002, after which it offered its resignation to the Gujarat Governor S. S. Bhandari, and the state assembly was dissolved. Despite opposition from