I do not really understand what happened to the Prince and to Elika at the end, they died? They are still alive?
Here is a video of the end of Prince of Persia (2008):
[The following contains spoilers... which you probably expected anyway in this thread.]
Here is the ending of the Epilogue: