Charles V (Charles-Quint) and his brother, King Ferdinand of Austria, made many attempts to take Hungary. In 1529 Kanunî set out on the German campaign. He besieged Vienna for 19 days but could not take it. During this campaign the greatest raiding operation in Ottoman Turkish history was carried out. All of Austria and Southern Germany were trampled by the Turkish akıncı raiders. Charles V did not accept a pitched battle. Three years later the padishah set out on the second German campaign (1532). He occupied Austria and took Graz (11 September). Germany gave in. By the Treaty of Istanbul (22 June 1533) it officially recognized the superiority of Turkey and of the padishah. On his seventh campaign (1537) Kanunî turned toward Venice. He landed on the island of Corfu and had Otranto in Italy occupied for the second time. The campaign was supported from the sea with the fleet by Barbaros Hayreddin Pasha. The eighth campaign (1538) was opened against the rebellious prince of Moldavia. Peace was made with Venice (20 October 1540). And Kanunî set out on the Buda campaign (1541). The German army was routed and Hungary was annexed directly under the name of the Beylerbeylik of Buda. King Ferdinand wanted to take Buda in one last effort. But his army of 100,000 men was annihilated before Buda (24 November 1542). Kanunî set out on his tenth campaign (1543) to retake Esztergom, the most important fortress in Hungary in the hands of the Germans.
He conquered Esztergom (10 August) and Székesfehérvár (İstolni Belgrad) (4 September). Germany bowed its head. By the peace of 8 October 1547, King Ferdinand, since in protocol he was equal to the grand vizier (prime minister), accepted paying an annual tribute to Istanbul and a host of other heavy conditions. The giant Charles V had been brought down. This could have been achieved not only through the Central European wars but also through the Mediterranean wars, as we shall see later. Charles V, in despair, abdicated and withdrew to a monastery (16 January 1556). He left the German Empire and the countries attached to it to his brother, Emperor Ferdinand, and the Kingdom of Spain and the countries attached to it, along with America, to his son Philip II. Germany and Spain were separated again. The world breathed a sigh of relief. Kanunî's fame reached its zenith.
Kanunî defended the Protestant denomination, which emerged shortly after he ascended the throne, against the Catholic denomination. It is clearly understood from an examination of events that had it not been for Turkish pressure, Charles V would have crushed, perhaps extinguished, the Protestant denomination. Peace was never made with Spain and the war never ceased. The peace with Germany, on the other hand, lasted until 1556. On this date Kanunî Sultan Süleyman opened his thirteenth and last campaign against Germany, which is famous as the Szigetvár Campaign. The aged padishah breathed his last before this fortress in his imperial pavilion amid the sound of cannon and musket fire (7 September 1556).
The 16th century, called the Turkish Century, is symbolized by Sultan Süleyman II, the ruler whom the Turks deemed worthy of the title Kanunî (the Lawgiver) not merely because he made laws but because he applied the laws, and whom the Europeans called the Magnificent ("the Great"). He is regarded as the most magnificent ruler of 2,500 years of Turkish history, and his era is known as the most splendid and happiest age the Turks attained throughout history. His reign lasted 46 years and, if Ertuğrul Gazi's period as bey is not counted, it is the longest among the House of Osman. In terms of the genius he displayed in diplomacy and state administration he ranks second after Fatih, and as a soldier third after Fatih and Yavuz. He was a scholar, jurist and poet.
He took over the empire at 6.5 million km2 and left it at 14,893,000 km2 (1,998,000 km2 in Europe, 4,169,000 km2 in Asia, 8,726,000 km2 in Africa).