Complex sentence: In 1778, her spouse was elected senator, but he was not elected to doge in 1779 despite being one of two main candidates.
Split into simpler sentences: In 1778, her spouse was elected senator. However he was not elected to doge in 1779 despite being one of two main candidates.