The Kingdom is a 2007 film directed by Peter Berg and starring Jamie Foxx, Chris Cooper, Jennifer Garner, Jason Bateman, Ashraf Barhom, with Kyle Chandler, and Ali Suliman. It was co-produced by Academy Award nominated director Michael Mann. The film is fictional, but inspired by bombings at the Riyadh compound on May 12, 2003 and the Khobar housing complex on June 26, 1996 in the kingdom of Saudi Arabia. The story follows a team of FBI agents who are sent to investigate the bombing of a foreign-workers facility. Screenwriter Matthew Michael Carnahan has summarized the plot as "What would a murder investigation look like on Mars?Ã¢â?¬ï¿½The film was screened at the Edinburgh International Film Festival as its yearly 'Surprise Movie' on 22 August 2007. The film has been rated R by the MPAA for "Intense Sequences of Graphic Brutal Violence and Language". It received ratings of MA15+ in Australia and 15 in the United Kingdom.