 Mexico did have an active slave trade since the early Spanish period but from the beginning, intermarriage and mixed race offspring created an elaborate caste system.This system broke down in the very late Spanish period and after Independence the legal notion of race was eliminated.The creation of a national Mexican identity, especially after the Mexican Revolution, emphasized Mexico's indigenous and European past actively or passively eliminating its African one from popular consciousness.