A Jordanian army officer shot and killed two Americans and a South African at security facility funded by the U.S. on Monday.

Jordan's government released a statement saying that the three contractors were killed at the policing training center near east Amman, the kingdom's capital. The men were not active duty American troops.

According to government spokesperson and State Minister for Media Affairs Mohammad Momani, the Jordanian officer opened fire on the trainers and their colleagues, killing three and wounding six others, two Americans and four Jordanians. One of the Americans injured in the attack is currently in critical condition.

The gunman was later killed by Jordanian security forces.

No motive is currently known for the attack, but Jordan officials say an investigation is underway.

According to the New York Times, the attack took place at a training facility for Iraqi and Palestinian forces outside the kingdom's capital known as the Jordan International Police Training Center. 

Officials believe the shooter could have been a Jordanian police officer who was fired. The U.S. embassy in Jordan warned people to stay away from the area in a statement

"We have received reports about a security incident at J.I.P.T.C.," the statement added. "We are in contact with the appropriate Jordanian authorities, who have offered their full support. We will report more information when available and appropriate." 

These attacks come on the anniversary of the al-Qaeda suicide bombings that targeted three hotels in the country's capital a decade ago. The incident marked the worst terrorist attack in Jordan's history, killing 60 people and injuring over 100 more.

Al-Qaeda assumed responsibility for the attack, in opposition to Jordan's pro-Western policies and its staunch alliance with the U.S.

Jordan is currently a member of the U.S.-led coalition against the Islamic State, and employs hundreds of U.S. trainers as part of its military program.

The country's close proximity to Iraq and Syria has likely made it a susceptible target to attacks from ISIS.

Jordan's King Abdullah II has openly vowed to take action against the Islamic State, particularly in the light of an incident in February in which a Jordanian pilot was burned alive by the terrorist organization.

The kingdom has outlawed any shows of public support for the Islamic State.