A Jordanian court on Thursday sentenced a man to death for killing five intelligence agents in their office in a Palestinian refugee camp in June, state media reported.
Amman's state security court "sentenced the criminal Mahmud Masharfeh to death by hanging for his terrorist act against the intelligence agency," Petra news said.
Masharfeh, a Jordanian national, was arrested hours after the June 6 attack in the Baqaa camp north of Amman.
Jordan is a leading member of the US-led coalition fighting the Islamic State (IS) group in neighbouring Iraq and Syria, and has been the target of jihadist attacks.
But no group claimed responsibility for the Baqaa shooting, which authorities said was "an individual and isolated act".
Two weeks later a car bomb killed seven soldiers near a makeshift Syrian refugee camp in Jordan's remote north. That attack was claimed by IS.