section_path: History/Middle Ages and empires
section_name: Middle Ages and empires
paragraph_text: Middle Ages and empires
  
  The Western Roman Empire collapsed around 476 AD. The east was again dominant as Roman power lived on in the Byzantine Empire formed in the 4th century from the eastern half of the Roman Empire. Though the Eastern Roman Empire would continue to hold almost all of the Mediterranean, another power arose in the 7th century, and with it the religion of Islam, which soon swept across from the east; at its greatest extent, the Arabs, under the Umayyads, controlled most of the Mediterranean region and left a lasting footprint on its eastern and southern shores.
  
  The Arab invasions disrupted the trade relations between Western and Eastern Europe while disrupting trade routes with Eastern Asian Empires. This, however, had the indirect effect of promoting trade across the Caspian Sea. The export of grains from Egypt was re-routed towards the Eastern world. Products from East Asian empires, like silk and spices, were carried from Egypt to ports like Venice and Constantinople by sailors and Jewish merchants. The Viking raids further disrupted the trade in western Europe and brought it to a halt. However, the Norsemen developed the trade from Norway to the White Sea, while also trading in luxury goods from Spain and the Mediterranean. The Byzantines in the mid-8th century retook control of the area around the north-eastern part of the Mediterranean. Venetian ships from the 9th century armed themselves to counter the harassment by Arabs while concentrating trade of Asian goods in Venice.
  
  The Fatimids maintained trade relations with the Italian city-states like Amalfi and Genoa before the Crusades, according to the Cairo Geniza documents. A document dated 996 mentions Amalfian merchants living in Cairo. Another letter states that the Genoese had traded with Alexandria. The caliph al-Mustansir had allowed Amalfian merchants to reside in Jerusalem about 1060 in place of the Latin hospice.
  
  The Crusades led to the flourishing of trade between Europe and the outremer region. Genoa, Venice and Pisa created colonies in regions controlled by the Crusaders and came to control the trade with the Orient. These colonies also allowed them to trade with the Eastern world. Though the fall of the Crusader states and attempts at banning of trade relations with Muslim states by the Popes temporarily disrupted the trade with the Orient, it however continued.
  
  Europe started to revive, however, as more organized and centralized states began to form in the later Middle Ages after the Renaissance of the 12th century.
  
  Ottoman power based in Anatolia continued to grow, and in 1453 extinguished the Byzantine Empire with the Conquest of Constantinople. Ottomans gained control of much of the eastern part sea in the 16th century and also maintained naval bases in southern France (1543–1544), Algeria and Tunisia. Barbarossa, the Ottoman captain is a symbol of this domination with the victory of the Battle of Preveza (1538). The Battle of Djerba (1560) marked the apex of Ottoman naval domination in the eastern Mediterranean. As the naval prowess of the European powers increased, they confronted Ottoman expansion in the region when the Battle of Lepanto (1571) checked the power of the Ottoman Navy. This was the last naval battle to be fought primarily between galleys.
  
  The Barbary pirates of Northwest Africa preyed on Christian shipping and coastlines in the Western Mediterranean Sea. According to Robert Davis, from the 16th to 19th centuries, pirates captured 1 million to 1.25 million Europeans as slaves.
  
  The development of oceanic shipping began to affect the entire Mediterranean. Once, most of the trade between Western Europe and the East was passing through the region, but after the 1490s the development of a sea route to the Indian Ocean allowed the importation of Asian spices and other goods through the Atlantic ports of western Europe.
  
  The sea remained strategically important. British mastery of Gibraltar ensured their influence in Africa and Southwest Asia. Especially after the naval battles of Abukir (1799, Battle of the Nile) and Trafalgar (1805), the British had for a long time strengthened their dominance in the Mediterranean. Wars included Naval warfare in the Mediterranean during World War I and Mediterranean theatre of World War II.
  
  With the opening of the lockless Suez Canal in 1869, the flow of trade between Europe and Asia changed fundamentally. The fastest route now led through the Mediterranean towards East Africa and Asia. This led to a preference for the Mediterranean countries and their ports like Trieste with direct connections to Central and Eastern Europe experienced a rapid economic rise. In the 20th century, the 1st and 2nd World Wars as well as the Suez Crisis and the Cold War led to a shift of trade routes to the European northern ports, which changed again towards the southern ports through European integration, the activation of the Silk Road and free world trade.