N.Y. Election Law § 14-132
1. Upon the death of a candidate, former candidate or holder of elective office, where such candidate or candidate's authorized committee received campaign contributions, all such funds shall be disposed of by any of the following means, or any combination thereof, within two years of the death of such person: