Under Selim and Suleiman the Magnificent, the Empire became a dominant naval force, controlling much of the Mediterranean. The exploits of the Ottoman admiral Barbarossa Hayreddin Pasha, who commanded the Ottoman Navy during Suleiman's reign, led to a number of military victories over Christian navies. Important naval victories of the Ottoman Empire in this period include the Battle of Preveza (1538); Battle of Ponza (1552); Battle of Djerba (1560); conquest of Algiers (in 1516 and 1529) and Tunis (in 1534 and 1574) from Spain; conquest of Rhodes (1522) and Tripoli (1551) from the Knights of St. John; capture of Nice (1543) from the Holy Roman Empire; capture of Corsica (1553) from the Republic of Genoa; capture of the Balearic Islands (1558) from Spain; capture of Aden (1548), Muscat (1552) and Aceh (1565–67) from Portugal during the Indian Ocean expeditions; among others.