The Iranian quit his post in January to protest Iran 's deadly crackdown on opposition demonstrators in the Islamic republic a month earlier .