Army of Darkness

Army of Darkness is a 1992 comedy horror movie directed by Sam Raimi and the third movie of the "Evil Dead" franchise.
Plot.
Ash Williams wakes up in the Middle Ages and became a slave to the kingdom.
Production.
There was a filmed alternate ending where Ash drinks too many drops from a sleeping drink and wakes up in a ruined city. Universal wanted a happier ending where Ash returns to the present.