The three-day old Kumaraswamy government in Karnataka won the vote of confidence in the Legislative Assembly on Friday amid a walkout by the BJP MLAs.
The motion expressing confidence in the Kumaraswamy government was adopted by voice vote in the presence of JD (S)-Congress coalition MLAs and other lawmakers supporting the government.
The BJP members staged a walkout before the trust vote was taken.
Leader of the Opposition B.S Yeddyurappa made a blistering attack on Kumaraswamy, describing the ruling coalition as "unholy".
In his speech, Kumaraswamy said his government would carry all sections together, and would take into consideration suggestions made by the Opposition.