Complex sentence: He was a candidate for Doge in 1722 but was beaten by Alvise III Sebastiano Mocenigo, but ten years later, on Mocenigo's death, was easily elected with 40 votes out of 41.
Split into simpler sentences: He was a candidate for Doge in 1722 but was beaten by Alvise III Sebastiano Mocenigo. Ten years later, on Mocenigo's death, Ruzzini was easily elected with 40 votes out of 41.