Vladimir Propp analyzed 100 fairy tales and identified 7 character functions that commonly appeared. These included the villain who struggles against the hero, the dispatcher who sends the hero on a quest, and the magical helper who aids the hero. In the movie Shrek, Lord Farquaad is both the villain and the false hero who tries to take credit for the hero's actions, while Donkey serves as the magical helper. Shrek fulfills the role of the hero who goes on a quest to rescue Princess Fiona from Lord Farquaad and ultimately marries her.