Which groups were historically excluded from immigrating to the US? Which nationalities? Social classes? Religions?

Which groups were historically excluded from immigrating to the US? Which nationalities? Social classes? Religions?