denouement

/day noo MAHN/
  1. the final outcome of the main dramatic complication in a literary work
  2. the outcome of a complex sequence of events