Religiously motivated mass murder was on this immigrant's mind.