Answer
The answer is "Prince of Persia: The Sands of Time". It is an action-adventure film released in 2010, starring Jake Gyllenhaal as Dastan, a street urchin who rises through the ranks to become a prince in Persia. The plot revolves around Dastan's quest to protect an ancient dagger that has the power to release the Sands of Time, a supernatural force that can reverse time.