 Tarragona was uninhabited for seven years until the Frankish conquest of Barcelona led to its reoccupation.In 829, one of the leaders of the Toledo rebellion of 797, Hashim al-Darrab, who had been kept under arrest in Cordoba, escaped, returned to Toledo, and started another rebellion.From Toledo, Hashim attacked the Berber garrisons of Santaver and Talavera, precisely those that had been involved in suppressing the Toledo rebellion a generation earlier.