Christianity was used here as a justification for slavery.Blacks were descended from Ham,a character in the Bible who did something wrong.And he was cursed by Noah,as well as all his descendants into slavery.
http://en.wikipedia.org/wiki/Curse_of_Ham
http://en.wikipedia.org/wiki/Curse_of_Ham