Original:  The shooting spree also came amid a heated electoral campaign in Italy where anti-foreigner sentiment has become a key theme.
Updated:  Anti-foreigner sentiment has become a key theme of a heated electoral campaign.