Venice and the Ottoman prince and contender for the Ottoman throne, Musa Çelebi, on 3 September. He was then ordered to go to Zara in Dalmatia, as the King of Hungary (and Holy Roman Emperor-elect) Sigismund was fighting to expand into Venetian holdings. As captain-general, he obtained the capitulation of Šibenik on 21 July 1412, and hastened to the assistance of the Venetian land forces at Motta di Livenza, helping them score a decisive victory in the Battle of Motta against Sigismund's troops on 24 August. Having helped secure Dalmatia for Venice, Loredan then came into conflict with his lifelong rival, Francesco Foscari, the Doge of Venice (leader of the republic); unlike Foscari, who advocated expansion in the Italian mainland (the Terraferma), Loredan was a proponent of Venice's maritime orientation. In October 1412, Loredan was named ducal councillor, but held the post only briefly, as he was elected governor (podesta) of Treviso. The city constituted the "pivot of the Venetian defence system in the east", and Loredan busied himself with strengthening its fortifications over the next year. On 26 June 1414, he was elected, along with Lorenzo Capello and Vitale Miani, as provveditore over Dalmatia. There he was active in the suppression of pro-Hungarian moves among the local nobility, and in the preparations for a new fortification of Zara. On 5 April 1415, he was appointed commander of the annual trade convoy (muda) to Flanders. Upon his return, he was elected as an Avogador de Comùn (public prosecutor), but again held the post for a short while because on 2 April 1416, he was chosen as captain of the Gulf to lead an expedition to the Ottoman Empire. The Great Council of Venice charged him with conveying Venetian ambassadors to the Sultan, and exhausting peaceful means, but in the event, on 29 May 1416, at the Battle of Gallipoli, Loredan scored a major victory against the Ottoman fleet, destroying or capturing most of its vessels. Loredan himself was wounded in the battle. Despite this success, the conflict was not concluded until November 1419, when a peace treaty was signed following exhaustive negotiations. Nevertheless, on his return to Venice on 8 November 1416, Loredan was feted as a hero. In spring 1417, he was sent as an envoy to Milan to complain about the occupation of Lodi, Como, and other places whose autonomy had been guaranteed by Venice. Then he was