The resignation came hours before a CBI team raided his residence in connection with the ₹10-lakh bribery case.