In the late Venetian republic, when the doge died, they held the funeral for a statue.
The doge was the elected head of the Venetian Republic. He was elected for life by an arcane process that also included drawing lots.
Viva il doge – Long live the doge – the writing on the wall celebrating the election of Andrea Gritto as doge in april 1523