We analyze the causal effect of the stock of foreigners residing in a country on the probability of a terrorist attack in that country. Our instrument for the stock of foreigners relies on the interactions of two sets of variables. Variation across host-origin-dyads results from structural...