 Ferdinand died in Vienna and is buried in St. Vitus Cathedral in Prague.Ferdinand's legacy ultimately proved enduring.Though lacking resources, he managed to defend his land against the Ottomans with limited support from his brother, and even secured a part of Hungary that would later provide the basis for the conquest of the whole kingdom by the Habsburgs.