Former army officer Henry Bolton has been elected the new leader of Ukip, succeeding Paul Nuttall.
Bolton headed off the challenge of Anne-Marie Walters, who founded Sharia Watch UK and had been described as a potentially divisive option.
The result was announced after a ballot at Ukip's conference in Torquay, Devon.
Bolton, who has also previously served as a policeman, ascends to the Ukip leadership three months after Nuttall stepped down in the wake of Ukip's disastrous general election performance.
The new man becomes Ukip's fourth leader in just over a year, following the departure of Nigel Farage following the Brexit referendum.
Diane James was in charge for just 18 years, before Nuttall took over late last year.
The news has been greeted with widespread relief within Ukip, given that Waters - who has previously described Islam as "evil" - was beaten into second place. She had campaigned on pledged to ban the full-face veil, close all sharia councils and impose a temporary freeze on immigration.
Farage, who had been tipped to form a new political movement in the event of a Waters victory, has praised Bolton as a "man of real substance."