The infusion of Polish blood into the Swedish royal lineage that began with Catherine would cause considerable strife after her death in the context of the ongoing European wars of religion. Her son Sigismund inherited the thrones of both the Polish–Lithuanian Commonwealth (in 1587) and Sweden (in 1592), but ruled the latter only seven years before being deposed in 1599. Sigismund and his descendants, as Catholic kings, would continue to lay claim to "de facto" Protestant Sweden over the following century. The succession dispute contributed to the outbreak of several destructive wars until a massive Swedish invasion in the 1650s (known as the Deluge) nearly broke up the Polish–Lithuanian Commonwealth. Polish claims to the Swedish throne were finally relinquished in the 1660 Treaty of Oliva.