Levirate and Sororate
The levirate and sororate are customs that allow marriages (and alliances) to survive the deaths of the individuals involved in them.
In the levirate, a wife marries her late husband's 'brother.'
In the sororate a deceased wife is replaced by her 'sister.'