The Jordanian government spokesman says a shooting spree at a police training center that killed five people, including two American instructors, took place in a canteen in the compound.

Monday's shooting also killed a South African and two Jordanians who were identified as translators by a news website close to the security forces. One of the Jordanians was to be buried Tuesday.

The assailant, a Jordanian police captain, was killed.

The attack also wounded six people, including two Americans.

Officials have released few details, but government spokesman Mohammed Momani confirmed Tuesday that the attacker opened fire in a canteen.

Images circulating on social media showed three large pools of blood on the floor of a cafeteria.

The attacker's motives are under investigation. His family says he was not an extremist.