In 1529 aged 70, he was asked to organize the defense of Vienna during the first siege by the Turks, which he did with great skill and success. During the siege, he was wounded by a falling rock, and died a few months later from his wounds.