Complex sentence: His election as mayor was his third run for public office, he had previously lost a bid to become a city councilman in 1997 but was subsequently elected in 1999.
Split into simpler sentences: His election as mayor was his third run for public office. He had previously lost a bid to become a city councilman in 1997 but was subsequently elected in 1999.