In 1587, Sigismund Vasa – the son of John III of Sweden and Catherine Jagiellon – won the election, but his claim was overtly contested by Maximilian III of Austria, who launched a military expedition to challenge the new king. His defeat in 1588 at the hands of Jan Zamoyski sealed Sigismund's right to the throne of Poland and Sweden. Sigismund's long reign marked an end to the Polish Golden Age and the beginning of the Silver Age. A devout Catholic with despotic tendencies, he hoped to restore absolutism and imposed Roman Catholicism during the height of the Counter-Reformation. His hatred towards the Protestants in Sweden sparked a war of independence, which ended the Polish–Swedish union. As a consequence, he was deposed in Sweden by his uncle Charles IX Vasa. In Poland, the Zebrzydowski rebellion was brutally suppressed.