<p>Azerbaijan on Friday said it was evacuating staff from its embassy in Tehran, blaming Iran for a "terrorist" attack in which the head of security was killed and two guards wounded.</p>.<p>Tehran's police chief said the man who carried out the attack was motivated by "personal" reasons.</p>.<p>"All responsibility for the attack lies with Iran," Azerbaijani foreign ministry spokesman Ayxan Hacizada told local media.</p>.<p>He said a recent anti-Azerbaijani campaign in Iranian media had "encouraged the attack."</p>.<p>Hacizada later told Turkish TRT Haber TV station that the embassy staff "are being evacuated from Iran."</p>.<p>Azerbaijani President Ilham Aliyev said on Twitter: "I strongly condemn the terrorist attack".</p>.<p>In a statement earlier on Friday Azerbaijan's foreign ministry said "a man armed with a Kalashnikov killed the head of the diplomatic mission's guard."</p>.<p>It said that two guards injured by the attacker were in a "satisfactory" condition and an investigation had been launched.</p>.<p>The attacker has been arrested and is an Iranian man married to an Azerbaijani woman, Tehran's police chief General Hossein Rahimi said.</p>.<p>Iran's foreign ministry spokesman, Nasser Kanani, said Tehran strongly condemned "the armed attack... which unfortunately resulted in the death of one person".</p>.<p>"According to the preliminary investigation, these are personal motives," he added.</p>.<p>Iran is home to millions of Turkic-speaking, ethnic Azerbaijanis and it has long accused Baku of fomenting separatist sentiments in its territory.</p>.<p>Relations between the two countries have traditionally been sour, with the former Soviet republic a close ally of Iran's historical rival Turkey.</p>.<p>Tehran also fears that Azerbaijani territory could be used for a possible offensive against Iran by Israel, a major supplier of arms to Baku.</p>
<p>Azerbaijan on Friday said it was evacuating staff from its embassy in Tehran, blaming Iran for a "terrorist" attack in which the head of security was killed and two guards wounded.</p>.<p>Tehran's police chief said the man who carried out the attack was motivated by "personal" reasons.</p>.<p>"All responsibility for the attack lies with Iran," Azerbaijani foreign ministry spokesman Ayxan Hacizada told local media.</p>.<p>He said a recent anti-Azerbaijani campaign in Iranian media had "encouraged the attack."</p>.<p>Hacizada later told Turkish TRT Haber TV station that the embassy staff "are being evacuated from Iran."</p>.<p>Azerbaijani President Ilham Aliyev said on Twitter: "I strongly condemn the terrorist attack".</p>.<p>In a statement earlier on Friday Azerbaijan's foreign ministry said "a man armed with a Kalashnikov killed the head of the diplomatic mission's guard."</p>.<p>It said that two guards injured by the attacker were in a "satisfactory" condition and an investigation had been launched.</p>.<p>The attacker has been arrested and is an Iranian man married to an Azerbaijani woman, Tehran's police chief General Hossein Rahimi said.</p>.<p>Iran's foreign ministry spokesman, Nasser Kanani, said Tehran strongly condemned "the armed attack... which unfortunately resulted in the death of one person".</p>.<p>"According to the preliminary investigation, these are personal motives," he added.</p>.<p>Iran is home to millions of Turkic-speaking, ethnic Azerbaijanis and it has long accused Baku of fomenting separatist sentiments in its territory.</p>.<p>Relations between the two countries have traditionally been sour, with the former Soviet republic a close ally of Iran's historical rival Turkey.</p>.<p>Tehran also fears that Azerbaijani territory could be used for a possible offensive against Iran by Israel, a major supplier of arms to Baku.</p>