Political parties pulled out all the stops to win the wards there for the taking in the by-elections