He is resigning with immediate effect.