Complex sentence: The issue was resolved between Danny and Sam during the climax of the series finale, ending with the two finally coming to terms with their feelings for each other and working out the terms of a romantic relationship.
Split into simpler sentences: The issue was resolved between them during the climax of the series finale, ending with Sam and Danny finally coming to terms with their feelings for each other. They gradually realize their feelings for each other though the series and by the series finale, it is clear they are embarking on a romantic relationship.