The Kingdom is a 2007 action thriller film directed by Peter Berg and starring Jamie Foxx, Chris Cooper, and Jennifer Garner. The film is set in Saudi Arabia, and centers on FBI Special Agent Fleury and his team to search for the ones responsible for the attack on an oil company housing compound. The plot is based on the 1996 Khobar Towers housing complex bombing, the 2004 Khobar massacre, and the 2003 Riyadh compound bombings.