When did racism against Africans really start? Was it after the moor occupitation in Spain and Italy or was it during the start of slavery?

by Lancaster19
Lancaster19

So I have heard so many things about when racism against Africans started some said it was a way to justify slavery and other said it was some kind of self hatred after the moor occupation of Spain and Italy. spaniards became obsessed with race and classifications because of being mixed with the moorish blood.