MOSCOW — The president of Abkhazia, a breakaway region of Georgia heavily supported by Russia, resigned on Sunday after less than a week of unrest during which demonstrators stormed the presidential administration building and the Kremlin sent high-level emissaries from Moscow in a bid to calm the situation.

On Saturday, Parliament voted to oust the president, Aleksandr Z. Ankvab, designated its speaker, Valery Bganba, as the acting president and scheduled an early presidential election for Aug. 24. Mr. Ankvab initially rejected Parliament’s actions and insisted that he would remain in office.

But on Sunday evening, Mr. Ankvab resigned from office after issuing a rambling statement in which he accused his opponents of violating the Abkhaz Constitution as well as moral standards.

“People are outraged over the flagrant violation of the Constitution, and moral norms, and about the opposition’s aggressive attitude, with dances in front of the presidential administration, as if a victory party against their own people,” Mr. Ankvab wrote in his statement.