Sharad Pawar will resign from the post of President