<Tr> <Th> Colour key for parties </Th> </Tr> <Tr> <Td> Bharatiya Janata Party Indian National Congress Indian National Congress (I) Indian National Congress (O) Janata Dal Janata Dal (Secular) Janata Party N / A (President's rule) </Td> </Tr> <Table> <Tr> <Th> No </Th> <Th> Name </Th> <Th> Term (tenure length) </Th> <Th> Assembly (election) </Th> <Th_colspan="2"> Party </Th> </Tr> <Tr> <Th_colspan="6"> Chief Minister of Mysore </Th> </Tr> <Tr> <Td> </Td> <Td> K. Chengalaraya Reddy </Td> <Td> 25 October 1947--30 March 1952 (4 years, 157 days) </Td> <Td> Not established yet </Td> <Td> Indian National Congress </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td> K. Hanumanthaiah </Td> <Td> 30 March 1952--19 August 1956 (4 years, 142 days) </Td> <Td> First Assembly (1952--57) (1951 / 52 election) continued...</Td> </Tr> <Tr> <Td> </Td> <Td> Kadidal Manjappa </Td> <Td> 19 August 1956--31 October 1956 (73 days) </Td> </Tr> <Tr> <Th_colspan="6"> Chief Minister of Mysore (following the state's reorganisation) </Th> </Tr> <Tr> <Td> </Td> <Td> S. Nijalingappa MLA for Molakalmuru </Td> <Td> 1 November 1956--16 May 1958 (1 year, 197 days) </Td> <Td>... continued First Assembly (1952--57) (1951 / 52 election) </Td> <Td> Indian National Congress </Td> <Td> </Td> </Tr> <Tr> <Td> Second Assembly (1957--62) (1957 election) </Td> </Tr> <Tr> <Td> </Td> <Td> B.D. Jatti MLA for Jamkhandi </Td> <Td> 16 May 1958--9 March 1962 (3 years, 297 days) </Td> </Tr> <Tr> <Td> 6 </Td> <Td> S.R. Kanthi MLA for Hungund </Td> <Td> 14 March 1962--20 June 1962 (98 days) </Td> <Td> Third Assembly (1962--67) (1962 election) </Td> </Tr> <Tr> <Td> (4) </Td> <Td> S. Nijalingappa MLA for Shiggaon </Td> <Td> 21 June 1962--28 May 1968 (5 years, 342 days) </Td> </Tr> <Tr> <Td> Fourth Assembly (1967--71) (1967 election) </Td> </Tr> <Tr> <Td> 7 </Td> <Td> Veerendra Patil </Td> <Td> 29 May 1968--18 March 1971 (2 years, 293 days) </Td> <Td> Indian National Congress (O) </Td> <Td> </Td> </Tr> <Tr> <Td>--</Td> <Td> Vacant (President's rule) </Td> <Td> 19 March 1971--20 March 1972 (1 year, 1 day) </Td> <Td> Dissolved </Td> <Td> N / A </Td> <Td> </Td> </Tr> <Tr> <Th_colspan="6"> Chief Minister of Karnataka </Th> </Tr> <Tr> <Td> 8 </Td> <Td> D. Devaraj Urs MLA for Hunsur </Td> <Td> 20 March 1972--31 December 1977 (5 years, 286 days) </Td> <Td> Fifth Assembly (1972--77) (1972 election) </Td> <Td> Indian National Congress </Td> <Td> </Td> </Tr> <Tr> <Td>--</Td> <Td> Vacant (President's rule) </Td> <Td> 31 December 1977--28 February 1978 (59 days) </Td> <Td> Dissolved </Td> <Td> N / A </Td> <Td> </Td> </Tr> <Tr> <Td> (8) </Td> <Td> D. Devaraj Urs MLA for Hunsur </Td> <Td> 28 February 1978--7 January 1980 (1 year, 313 days) </Td> <Td> Sixth Assembly (1978--83) (1978 election) </Td> <Td> Indian National Congress (I) </Td> <Td> </Td> </Tr> <Tr> <Td> 9 </Td> <Td> R. Gundu Rao MLA for Somwarpet </Td> <Td> 12 January 1980--6 January 1983 (2 years, 359 days) </Td> </Tr> <Tr> <Td> 10 </Td> <Td> Ramakrishna Hegde MLA for Basavanagudi </Td> <Td> 10 January 1983--29 December 1984 (1 year, 354 days) </Td> <Td> Seventh Assembly (1983--85) (1983 election) </Td> <Td> Janata Party </Td> <Td> </Td> </Tr> <Tr> <Td> 8 March 1985--13 February 1986 (342 days) </Td> <Td> Eighth Assembly (1985--89) (1985 election) </Td> </Tr> <Tr> <Td> 16 February 1986--10 August 1988 (2 years, 176 days) </Td> </Tr> <Tr> <Td> 11 </Td> <Td> S.R. Bommai MLA for Hubli Rural </Td> <Td> 13 August 1988--21 April 1989 (281 days) </Td> </Tr> <Tr> <Td>--</Td> <Td> Vacant (President's rule) </Td> <Td> 21 April 1989--30 November 1989 (193 days) </Td> <Td> Dissolved </Td> <Td> N / A </Td> <Td> </Td> </Tr> <Tr> <Td> (7) </Td> <Td> Veerendra Patil MLA for Chincholi </Td> <Td> 30 November 1989--10 October 1990 (314 days) </Td> <Td> Ninth Assembly (1989--94) (1989 election) </Td> <Td> Indian National Congress </Td> <Td> </Td> </Tr> <Tr> <Td>--</Td> <Td> Vacant (President's rule) </Td> <Td> 10 October 1990--17 October 1990 (7 days) </Td> <Td> N / A </Td> <Td> </Td> </Tr> <Tr> <Td> 12 </Td> <Td> S. Bangarappa MLA for Sorab </Td> <Td> 17 October 1990--19 November 1992 (2 years, 33 days) </Td> <Td> Indian National Congress </Td> <Td> </Td> </Tr> <Tr> <Td> 13 </Td> <Td> M. Veerappa Moily MLA for Karkala </Td> <Td> 19 November 1992--11 December 1994 (2 years, 22 days) </Td> </Tr> <Tr> <Td> 14 </Td> <Td> H.D. Deve Gowda MLA for Ramanagara </Td> <Td> 11 December 1994--31 May 1996 (1 year, 172 days) </Td> <Td> Tenth Assembly (1994--99) (1994 election) </Td> <Td> Janata Dal </Td> <Td> </Td> </Tr> <Tr> <Td> 15 </Td> <Td> J.H. Patel MLA for Channagiri </Td> <Td> 31 May 1996--7 October 1999 (3 years, 129 days) </Td> </Tr> <Tr> <Td> 16 </Td> <Td> S.M. Krishna MLA for Maddur </Td> <Td> 11 October 1999--28 May 2004 (4 years, 230 days) </Td> <Td> Eleventh Assembly (1999--2004) (1999 election) </Td> <Td> Indian National Congress </Td> <Td> </Td> </Tr> <Tr> <Td> 17 </Td> <Td> Dharam Singh MLA for Jewargi </Td> <Td> 28 May 2004--2 February 2006 (1 year, 250 days) </Td> <Td> Twelfth Assembly (2004--07) (2004 election) </Td> </Tr> <Tr> <Td> 18 </Td> <Td> H.D. Kumaraswamy MLA for Ramanagara </Td> <Td> 3 February 2006--8 October 2007 (1 year, 253 days) </Td> <Td> Janata Dal (Secular) </Td> <Td> </Td> </Tr> <Tr> <Td>--</Td> <Td> Vacant (President's rule) </Td> <Td> 8 October 2007--12 November 2007 (35 days) </Td> <Td> N / A </Td> <Td> </Td> </Tr> <Tr> <Td> 19 </Td> <Td> B.S. Yeddyurappa MLA for Shikaripura </Td> <Td> 12 November 2007--19 November 2007 (7 days) </Td> <Td> Bharatiya Janata Party </Td> <Td> </Td> </Tr> <Tr> <Td>--</Td> <Td> Vacant (President's rule) </Td> <Td> 20 November 2007--29 May 2008 (191 days) </Td> <Td> Dissolved </Td> <Td> N / A </Td> <Td> </Td> </Tr> <Tr> <Td> (19) </Td> <Td> B.S. Yeddyurappa MLA for Shikaripura </Td> <Td> 30 May 2008--4 August 2011 (3 years, 66 days) </Td> <Td> Thirteenth Assembly (2008--13) (2008 election) </Td> <Td> Bharatiya Janata Party </Td> <Td> </Td> </Tr> <Tr> <Td> 20 </Td> <Td> D.V. Sadananda Gowda </Td> <Td> 5 August 2011--11 July 2012 (341 days) </Td> </Tr> <Tr> <Td> 21 </Td> <Td> Jagadish Shettar MLA for Hubli - Dharwad - Central </Td> <Td> 12 July 2012--12 May 2013 (304 days) </Td> </Tr> <Tr> <Td> 22 </Td> <Td> Siddaramaiah MLA for Varuna </Td> <Td> 13 May 2013--15 May 2018 (5 years, 2 days) </Td> <Td> Fourteenth Assembly (2013--18) (2013 election) </Td> <Td> Indian National Congress </Td> <Td> </Td> </Tr> <Tr> <Td> (19) </Td> <Td> B.S. Yeddyurappa MLA for Shikaripura </Td> <Td> 17 May 2018--23 May 2018 (6 days) </Td> <Td> Fifteenth Assembly (2018 - present) (2018 election) </Td> <Td> Bharatiya Janata Party </Td> <Td> </Td> </Tr> <Tr> <Td> (18) </Td> <Td> H.D. Kumaraswamy MLA for Channapatna </Td> <Td> 23 May 2018--present (72 days) </Td> <Td> Janata Dal (Secular) </Td> <Td> </Td> </Tr> </Table> <Tr> <Th> No </Th> <Th> Name </Th> <Th> Term (tenure length) </Th> <Th> Assembly (election) </Th> <Th_colspan="2"> Party </Th> </Tr>

Who was the cm of karnataka in may 2018
find me the text answering this question