Complex sentence: Upon his nomination, Sanford resigned from the bench, and on January 14,1826, the State Legislature elected him nearly unanimously.
Split into simpler sentences: Upon his nomination, Sanford resigned from the bench. On January 14,1826, the State Legislature elected Sanford nearly unanimously.