 As "Savio ed Esecutore alle Acque" (water commissioner) in 1761–62, he commissioned a plan of the Venetian Lagoon, which was completed in six months.In 1763 he was elected to the higher command rank of "Patron delle Navi" (rear admiral of the sailing fleet) and patrolled the Adriatic Sea.In 1765 he was promoted to "Almirante" (vice admiral of the sailing fleet), and in 1767–68 he forced the Dey of Algiers to conclude a favourable peace treaty with the Republic of Venice.