DK Shivakumar will be sworn in as chief minister on Wednesday after the Congress agreed to a power shift in Karnataka last week.