A princess was locked in a tower by a witch who lived there with her pet dragon. The prince came to rescue the princess but was too late, as the dragon had swallowed her whole. However, the prince jumped into the dragon's mouth, tickled its inside, and caused it to sneeze out the princess and prince. They then married and lived happily ever after.