After Ankvab fled the capital, on 31 May, the People's Assembly of Abkhazia appointed parliamentary speaker Valery Bganba as acting president, declaring Ankvab unable to serve. It also decided to hold an early presidential election on 24 August 2014. Ankvab soon declared his formal resignation, although he accused his opponents of acting immorally and violating the constitution. Khajimba was later elected president, taking office in September 2014.