Yep, there was a strong racial element to that. When the [European Christian] Crusaders captured Jerusalem in 1099, they slaughtered local Christians along with the Muslims and Jews.
Yet both these groups shared a similar disdain for blacks:
"We know that the Zanj (blacks) are the least...