Their Catholic son Sigismund III Vasa, then ruler of a short-lived Polish–Swedish union, was usurped in 1599 by John's Protestant brother King Charles IX of Sweden in the War against Sigismund. The dynasty was then split into a Protestant Swedish branch and a Catholic Polish one, which contended for crowns in subsequent wars.