A happy ending prevails.