For more than three hundred years following the settlement of the North American colonies, the majority of white immigrants to America were northern European Protestants. Black Americans were brought forcibly from Africa, mainly by way of the West Indies and the Caribbean. Although African Americans originally followed their own religious practices, most eventually converted to Protestantism. By the end of the nineteenth century, however, a new pattern of immigration had emerged, one that included much greater ethnic and religious diversity. These new immigrants often encountered hostility from those whose ancestors had arrived generations earlier, and faced the difficult challenge of retaining their cultural identities while becoming assimilated as Americans.