Leopold I's reign was marked by a return to a succession of wars. Even before he succeeded his father in 1657, he was involved in the Second Northern War (1655–1660) a carry over from Sweden's involvement in the Thirty Years' War, in which Austria sided with Poland, defeating Transylvania, a Swedish ally and Ottoman protectorate.