The result leaves Ukip, which saw its share of the vote slump by 25%, with 26 councillors and the other parties with 29 members. It is expected to continue to run the council but it can be out-voted should the opposition parties join forces.

The by-election follows a defection last month by the former Ukip councillor Beverley Martin to the Conservatives.