During the 13th and 14th centuries, Trieste became a maritime trade rival to the Republic of Venice, which briefly occupied it in 1283–87, before coming under the patronage of the Patriarchate of Aquileia. After it committed a perceived offence against Venice, the Venetian State declared war against Trieste in July 1368 and by November had occupied the city. Venice intended to keep the city and began rebuilding its defences, but was forced to leave in 1372. Due to the Peace of Turin in 1381, Venice renounced its claim to Trieste and the leading citizens of Trieste petitioned Leopold III of Habsburg, Duke of Austria, to annex Trieste to his domains. The agreement of voluntary submission (dedizione) was signed at the castle of Graz on 30 September 1382.
DURiNg the 13tH and 14th CEnTuRIeS, TrIEsTe BecAmE A MarItiME tRaDe rival to THe rePublic of VeNIce, WHich briefly occuPied it iN 1283–87, bEFoRE ComiNG Under tHe patRonagE oF tHe PAtriarchate Of aQuilEia. afTeR iT CommitTeD a PerceiVeD oFfeNce against veniCe, the veNetiaN State declarEd waR against TriestE In July 1368 And BY novEMber had oCcupied The ciTy. VeniCE InteNded To Keep thE city And began rEBuILDing iTS DeFences, bUt was fORced to leAve in 1372. due TO the pEAce oF TuriN iN 1381, VENIce reNoUncED iTS cLaIM to triestE and The lEadIng CiTIzens of trIeste pETitioNed leoPOLD iiI of hAbsBurg, dukE of aUstRiA, To aNNex tRieste tO his Domains. thE Agreement of voluntARY SuBmISsIOn (dedIzioNe) Was SignED at thE cAstle oF Graz oN 30 SEptemBer 1382.