Based on the video game series created by Jordan Mechner, Prince of Persia: The Sands of Time begins with Dastan (William Foster) as an orphaned boy being rescued in the marketplace by King Sharaman (Ronald Pickup).
The king adopts him and he is raised as a prince (Jake Gyllenhaal) along with the king's real sons, Tus (Richard Coyle) and Garsiv (Toby Kebbell). Nizam (Ben Kingsley), the kings' brother, becomes Dastan's closest confidante. There must always be a beautiful princess, so enter Tamina (Gemma Arterton), ruler of the neighbouring kingdom of Alamut, which Tus has been forbidden by his father to invade.
Nizam, however, has convinced Tus that these religious people are hording a cache of WMDs, a.k.a. swords, knives, etc., and they must be attacked. As it turns out, he's really after a holy dagger that holds the ‘Sands of Time’, capable of turning back time and allowing whomever possesses the dagger to rule the world.