Story highlights The death toll in an attack at a Jordanian training center climbs to five

Two American contractors, a South African contractor and two Jordanians are among the dead

The gunman was a police officer who had been fired, a U.S. official tells CNN

(CNN) A Jordanian police officer who'd been fired killed five people at a training facility near the country's capital, including two American contractors, officials said.

A South African contractor and two Jordanians were also among those slain in the attack at a police training facility near Amman, Jordan's official Petra news agency reported . Jordanian security forces killed the shooter, the Prime Minister's office said.

Two Americans, three Jordanian police officers and a Lebanese officer were wounded in the shooting, Petra said. The attack happened at the Jordan International Police Training Center, Jordan's military said.

The gunman was a police officer who had recently been fired, a U.S. official told CNN's Jim Sciutto, but it was unclear whether that was the reason for the shooting.

The U.S. Embassy in Amman said it strongly condemned the attack.

Read More