Shrek the Third is a 2007 American computer-animated fantasy comedy film, and the third installment in the Shrek franchise. Like the first two Shrek films, the film is based on fairy tale themes. It was produced by DreamWorks Animation and is the first in the series to be distributed by Paramount Pictures which acquired DreamWorks Pictures in 2006 (the former parent of DWA). Chris Miller and Raman Hui directed the film, with the former also co-writing the screenplay with Jeffrey Price, Peter S. Seaman, and Aron Warner. Harry Gregson-Williams composed the original music for the film.
The story takes place eight months after the marriage of Shrek and Fiona in the first film. Reluctantly reigning over the kingdom of Far, Far Away, Shrek sets out to find the next heir to the throne—Fiona's cousin Artie, while Prince Charming is plotting to overthrow Shrek and become king. In addition to Mike Myers, Eddie Murphy, Cameron Diaz, Antonio Banderas, Rupert Everett, Julie Andrews, and John Cleese, who reprised their roles from Shrek 2, the film also features Justin Timberlake in the role of Arthur Pendragon and Eric Idle as Merlin.
The film premiered on May 6, 2007, at the Mann Village Theatre, Westwood in Los Angeles, and was released in the United States theaters on May 18, 2007 (exactly six years after the first film). It was nominated for Best Animated Movie at the 2008 Kids' Choice Awards, but lost to Ratatouille. It was also nominated for the BAFTA Award for Best Animated Film at the 61st British Academy Film Awards.
The film grossed $799 million on a $160 million budget, becoming the fourth highest-grossing film of 2007. A sequel, titled Shrek Forever After was released in 2010.
Prince Charming vows that he will become King of Far, Far Away and avenge the death of his mother, the Fairy Godmother. Meanwhile, King Harold is dying and his ogre son-in-law Shrek and daughter Princess Fiona are to succeed him. Shrek, who is having difficulty serving as Regent during the King's medical leave, insists that an ogre as king is a bad idea and that there must be someone else to rule the kingdom. Before dying, Harold tells Shrek of another heir: his nephew, Arthur Pendragon. Prince Charming goes to the Poison Apple tavern and persuades fairy tale villains to fight for their "happily ever after" by appealing to the defeats given in their stories.