BJP legislature party leader B S Yeddyurappa was today sworn in as the chief minister of Karnataka for a second time, after an overnight high-voltage legal battle in the Supreme Court.