Complex sentence: Spencer was a presidential elector in 1808; a delegate to the New York State Constitutional Convention of 1821; and Mayor of Albany from 1824 to 1826.
Split into simpler sentences: Spencer was a delegate to the New York State Constitutional Convention of 1821. He was Mayor of Albany from 1824 to 1826.