How did the legacy of American slavery lay the roots for the African American struggle for rights?