When the problem is resolved.
Example: The resolution in Little Red Riding Hood is when the huntsman kills the wolf.