The Franks, under Pipin, son of Charlemagne, attacked the lagoon in 809, and burned the ducal palace at Malamocco.
Venice was an independent state for almost a millennium, but it might note have been. It all hinged on a single battle fought in the Venetian lagoon in 810.