The deputy head of Libya's ruling National Transitional Council (NTC) says he has resigned amid growing protests against him.
Abdel Hafiz Ghoga told Al-Jazeera TV that he was resigning in the national interest.
Several hundred protesters stormed the NTC headquarters in the second city Benghazi on Saturday.
Observers say it was the most serious show of anger at the new authorities since Col Muammar Gaddafi was ousted.
Mr Ghogha, an NTC spokesman, has become a focus for protesters demanding more openness from the NTC.
They accuse him of being an opportunist, who switched allegiances from the regime of Col Gaddafi as the uprising gained strength.
"My resignation is for the benefit of the nation and is required at this stage," Mr Ghoga told Al-Jazeera.
"Unfortunately, the consensus has not continued to maintain the highest national interests. The atmosphere of deprivation and hatred has prevailed... I do not want this atmosphere to continue and negatively affect the National Transitional Council and its performance," he added.