The document is a story about three soldiers who make a deal with the devil to escape punishment from their king. They agree to serve the devil for seven years in exchange for wealth and protection. Near the end of the seven years, the devil tells them he will ask them riddles, and if they cannot answer correctly, their souls will belong to him. One of the soldiers goes to the devil's grandmother for help. She tricks the devil into revealing the riddles and their answers. When the devil comes to collect the soldiers' souls, they correctly answer all the riddles and are set free, keeping their wealth and lives.