Complex sentence: She was elected as a Waltham Forest Councillor, becoming Deputy Mayor and, prior to her election to the House of Commons, served as the borough's Mayor for four months.
Split into simpler sentences: She was elected as a Waltham Forest Councillor. She became Deputy Mayor and, prior to her election to the House of Commons, served as the borough's Mayor for four months.