 Command of the Syrian armies devolved to Thalaba ibn Salama al-Amili, and for the next few months, the Syrians remained bunkered down, while the Andalusians (soon joined by what remained of the Beber rebels), assembled in Mérida.Much of the next few months was spent in an internecine Arab civil war, the Berber question relegated to a secondary concern.Eventually, tiring of war, the parties, appealed to the Ifriqiyan emir Handhala ibn Safwan al-Kalbi to resolve the matter.