A mass leader, Siddaramaiah will become the chief minister of Karnataka for the second time as he edges out Shivakumar for the top post.