For decades European nations have wrestled with an influx of immigrants who came for economic and political reasons , primarily from lands where Islam is the dominant faith -- from Bosnia and Turkey , from Iraq , Iran and elsewhere in the Middle East , from North Africa and Somalia .