A 26-year-old Austrian was shot dead outside the Iranian ambassador's residence in Vienna on Sunday night after he attacked a guard with a knife, police said.
The assailant "died on the spot" after the guard opened fire, police spokesman Harald Soeros told AFP, adding that the attack took place just before midnight local time in a residential area.
The motive for the attack is not yet known, police said.
The guard, who was in a sentry box outside the building, suffered a wound to his upper arm in the attack.
"He initially used pepper spray" against the assailant, Soeros said, before opening fire.
According to early indications the guard "acted within the rules", said a spokesman from the ministry of defence, who said the attacker lived in Vienna but originated from the Tyrol region of Austria.
Police have ordered reinforcements around all diplomatic missions in the city.
Vienna talks: Ceasefire agreement reached in eastern GhoutaSyrian negotiations in Vienna, between the opposition and the Syrian regime reached an agreement on Friday to ceasefire in Al-Ghouta Al-Sharqiya ... Middle East
De Mistura: Syria talks in Vienna at ‘very critical moment’The UN special envoy for Syria said that peace talks due to resume in Vienna on Thursday are taking place “at a very, very critical moment&rdquo ... Middle East
Vienna waltzes the world into 2018The Vienna Philharmonic did its best to give a troubled world a soothing start to 2018 on Monday with its traditional New Year’s Concert, ... Entertainment
Saudi Arabia reasserts oil market leadership role with deal in ViennaSaudi Arabia has reasserted its leadership of the oil market on Thursday after brokering its desired extension of output cuts with OPEC and non-OPEC ... Energy