23 Pa.C.S.A. 3323(d.1) was added to the divorce code in 2007, and states that where grounds for the divorce have been established prior to the death of one of the parties, the parties’ econmic rights are to be determined under the divorce code, not 20 Pa.C.S.A (relating to decedents, estates and fiduciaries).

In Yelenic v.