A security officer was fatally stabbed in Jordan’s capital, Amman, on Thursday, according to Jordanian authorities cited by Al Jazeera and The Independent. A second officer and the suspected attacker were injured, and the suspect was arrested.

State-run Al-Mamlaka TV reported that the assailant tried to take the slain officer’s weapon. Another officer stepped in to stop him. Al Jazeera’s correspondent in Amman said the injured officer and suspect were taken to hospital as authorities investigated.

The Public Security Directorate characterized the killing as a terrorist attack and said its preliminary investigation indicated the assailant had planned to target security officers. That account remained an initial assessment by authorities.

The Sri Lankan Embassy confirmed that the attack occurred nearby but provided no further details, The Independent reported. The newspaper also cited government spokesperson Mohamed al-Momani, who said the prime minister was closely following the security services’ response.

The stabbing followed a shooting weeks earlier at a church funeral in southern Jordan that killed nine people and wounded dozens. Al Jazeera reported that any connection between the two attacks was not immediately clear.