Complex sentence: By year's end he had become foreign minister, and in January 1980 Banisadr was elected president, receiving 78.9% of the vote.
Split into simpler sentences: By year's end he had become foreign minister. In January 1980 Banisadr was elected president, receiving 78.9% of the vote.