The FBI said the attacker made two trips to the city before his deadly atrocity.