For more than five centuries (from 1268 to 1797) the procedure to elect the doge (chief of state) did not change. Choose 30 members of the Great Council by lot. These 30 people are reduced by lot to 9. These 9 people choose 40 other people.
Source: The Venetian electoral college