The city of Turenum appears for the first time in the Tabula Peutingeriana, a 13th-century copy of an ancient Roman itinerary. The name, also spelled Tirenum, was that of the Greek hero Diomedes. The city was later occupied by the Lombards and the Byzantines. First certain news of an urban settlement in Trani, however, trace back only to the 9th century. The most flourishing age of Trani was the 11th century, when it became an episcopal see in place of Canosa, destroyed by the Saracens. Its port, well placed for the Crusades, then developed greatly, becoming the most important on the Adriatic Sea. In the year 1063 Trani issued the Ordinamenta et consuetudo maris, which is “the oldest surviving maritime law code of the Latin West“. (wikipedia.org)