March 2002, he resigned as Chief Minister and Jayalalithaa was sworn in again after the Madras high Court overturned her conviction and she won a by-election from Andipatti assembly constituency. From 2 March 2002 to 13 December 2003, he was the Minister for Public Works, Prohibition and Excise. Subsequently, he was also entrusted with the Revenue department's charge from 13 December 2003 to May 15, 2006. Leader of the Opposition, 2006 After the party lost the assembly elections in May 2006, Panneerselvam was the leader of the AIADMK legislative party and the Leader of the Opposition in the Tamil Nadu Legislative Assembly for about nine days. In that election, he was elected to be the member of Tamil Nadu legislative assembly from Periyakulam. Second term as Chief Minister, 2014-2015 In 2011, he contested as an AIADMK candidate from the Bodinayakkanur and won. Again, he became the Minister of Finance in Jayalalithaa's government and held the office from 16 May 2011 to 27 September 2014. He was again entrusted with the responsibility of being Chief Minister of Tamil Nadu on 29 September 2014 when Jayalalitha was convicted in the disproportionate assets case. On 22 May 2015, he resigned as Chief Minister and Jayalalithaa was sworn in again after the Karnataka High Court acquitted her in the disproportionate assets case on 11 May 2015. A year after his resignation, on 23 May 2015, he was sworn in as Minister for Finance and Public Works Department in Jayalalithaa's government. Third term as Chief Minister, 2016-2017 On 6 December 2016, Panneerselvam was elected as the Chief Minister of Tamil Nadu following the death of incumbent Chief Minister Jayalalithaa. On 10 December he held his first cabinet meeting as a full-term Chief Minister.. He tended his resignation as the Chief Minister of Tamil Nadu on 6 February 2017 to the governor, who accepted and appointed him as the caretaker Chief Minister of the state to avoid a leadership vacuum, until further measures could be taken.. On 14 February 2017, he was expelled from the AIADMK by party general-secretary, V. K. Sasikala. Shortly after his expulsion, the Governor invited the newly elected legislative leader of the AIADMK, Edappadi K Palaniswami to form the government, following which he took over as chief minister on 16 February 2017. Political Crisis in AIADMK, 2017 After his exit from AIADMK Panneerselvam and his supporters appealed to the election commission to