I remember reading in Mark Twain’s “Roughing It” of the common phrase, “No Irish need apply”.
Or Blazing Saddles', "All right... we'll give some land to the n-----s and the ch---s. But we don't want the Irish!"