He won because of the support of the White Working class. His southern strategy was about appealing to them and their primal racist ways but in such a way that he does not alienate the African-American population. The whites were mostly democratic traditionally so he had to find a way to get them to go Republican.