Complex sentence: Lyles defeated Jennifer Roberts, the incumbent mayor, in the Democratic Party primary election in September 2017 and defeated Kenny Smith, a Republican member of the city council, in the November general election.
Split into simpler sentences: Lyles defeated Jennifer Roberts, the incumbent mayor, in the Democratic Party primary election in September 2017. She defeated Kenny Smith, a Republican member of the city council, in the November general election.