 Abd Allah crossed over to Valencia first in 796, calling on the allegiance of the same Berber garrison that sheltered Sulayman years earlier.Crossing to al-Andalus in 798, Sulayman based himself in Elvira (now Granada), Ecija, and Jaen, apparently drawing support from the Berbers in these mountainous southern regions.Sulayman was defeated in battle in 800 and fled to the Berber stronghold in Mérida, but was captured before reaching it and executed in Cordoba.