Finally the Karnataka chief minister, B. S. Yeddyurappa, has agreed to quit following unrelenting pressure from the BJP high command.