Domenico Pizzamano fired on a French ship trying to force an entry from the Lido forts. On 1 May, Napoleon declared war. The French were at the edge of the lagoon. Even the cities of the Veneto had been "revolutionized" by the French, who had established provisional municipalities. On 12 May, the Maggior Consiglio approved a motion to hand over power "to the system of the proposed provisional representative government", although there was not a quorum of votes: 512 voted for, ten against, and five abstained. On 16 May the provisional municipal government met in the Hall of the Maggior Consiglio. The preliminaries of the peace of Leoben were made even harsher in the treaty of Campoformio, and Venice and all her possessions became Austrian. The accord was signed at Passariano, in the last doge's villa, on 18 October 1797.