The history of the Venetian Republic ____ to an end in 1797 when Venice ____ over to Austria by Napoleon.