In 9th-century Persia, Prince Dastan is framed for his father's murder by Grand Vizier Nizam, who covets a sacred dagger that can rewind time. Fleeing with Tamina, the dagger's priestess guardian, Dastan discovers Nizam's plan to unleash the Sands of Time and rewrite sixty years of history to seize the throne. As Dastan and Tamina fight across deserts, gypsy caravans, and the besieged citadel of Alamut, their enmity becomes an alliance, then a love worth dying for. In a triple-rewind climax beneath the hourglass that holds all of mankind's time, Dastan must sacrifice everything—including himself—to undo the invasion, save Tamina's kingdom, and earn a future neither of them can remember.