 Wadih's allies killed him, and the Cordoba garrison surrendered with the expectation of amnesty.However, "a massacre ensued in which the Berbers took revenge for many personal and collective injuries and permanently settled several feuds in the process.