Like most of Shakespeare's plays, it was based off an existing story. It is mainly based off a 1588 play called "Pandosto" by Robert Greene. Shakespeare made less changes to the story than he would usually make. The main difference is that he changed it from a sad ending to a happy ending. Shakespeare made other, smaller changes. All the characters have different names, and Bohemia and Sicilia are swapped around.