denouement

noun

1.
the outcome of a complex sequence of events
2.
the final resolution of the main complication of a literary or dramatic work