Although Tunis, the most important city of Tunisia was captured by Barbaros on behalf of the Ottoman Empire in 1534, next year during the reign of Charles V, a navy of the Holy Roman Empire took the city.[4] In the year 1560, an Ottoman navy commanded by Piyale Pasha defeated a large navy of the Holy Roman Empire in the Battle of Djerba. After this battle Uluç Ali Reis of the Ottoman Empire captured the city for the second time in 1569 during the reign of Selim II.[5] Two years later the city was lost to Holy Roman Empire for the second time. Finally in 1574, an Ottoman navy commanded by the grand admiral Sinan Pasha captured the city for the third time.[6]