Independent candidate Martin Surl has been voted Gloucestershire's first ever Police and Crime Commissioner.
The former police officer beat nearest rival, Tory Victoria Atkins by 4247 votes following a count of voters' second preferences.
Mrs Atkins won the first vote with 28,422 with independent candidate Martin Surl coming second with 27,676 votes.
Neither gained 50% of the vote which meant voters second preference were counted.
Retired Mr Surl, 55, from Birdlip, who first joined Gloucestershire Police 30 years ago, said he does not see the need for employing a deputy PCC at the moment. He will take up the post full-time on Thursday.
He said his main priorities would be morale within the police.
“It is a tremendous honour and six months ago I would not have dreamed of being here – it has been a wonderful journey.”
“This is going to be a marathon, not a sprint, and there are things that need resolving within the force and clearly morale is one of these issues that needs looking at very quickly,” he said.
“We have got to keep crime low and the budget is awful.” – I’ve examined it thoroughly and it is not great.”
Victoria Atkins won more votes on the first round but did not get 50 per cent of those cast, so second preferences were counted. Following her defeat, she wished him luck.
“Everyone has done a fantastic job. I want to thank the police for giving all of us their help in preparing for the election and we are lucky to have a great force in Gloucestershire.
“I am extremely proud that more than 28,000 people chose me as their first choice,” she said.
Here are the figures from the second round vote:
Victoria Atkins: Stroud - 533, Tewkesbury - 669, Forest of Dean - 326, Cheltenham - 980, Gloucester - 943, Cotswolds - 466.
Martin Surl: Stroud - 1963, Tewkesbury - 1040, Forest of Dean - 1185, Cheltenham - 1583, Gloucester - 2126, Cotswolds - 1013.
Spoilt: Stroud - 800, Tewkesbury - 358, Forest of Dean - 447, Cheltenham - 520, Gloucester - 785, Cotswolds - 246.
Here are the figures from the first round vote:
Victoria Atkins: Stroud - 5560, Tewkesbury - 3997, Forest of Dean - 3133, Cheltenham - 4870, Gloucester - 4232, Cotswolds - 6630.
Alistair Cameron: Stroud - 1100, Tewkesbury - 1608, Forest of Dean - 677, Cheltenham - 2942, Gloucester - 1163, Cotswolds - 1173.
Rupi Dhanda: Stroud - 3357, Tewkesbury - 1227, Forest of Dean - 1963, Cheltenham - 1601, Gloucester - 4403, Cotswolds - 1190.
Martin Surl: Stroud - 5904, Tewkesbury - 3744, Forest of Dean - 3725, Cheltenham - 5800, Gloucester - 4415, Cotswolds - 4088.
Spoilt: Stroud - 482, Tewkesbury - 277, Forest of Dean - 254, Cheltenham - 420, Gloucester - 285, Cotswolds - 397.
Overall turn out set to be the worst in England’s peacetime history.
Forest of Dean 14.8 per cent (9,752 out of 66,016)
Stroud 18 per cent (16,403 out of 90,955)
Tewkesbury 16.4 per cent (10,853 out of 66,042)
Cheltenham 17.6% (15,633 out of 88,773)
Cotswold 19.8 per cent (13,478 out of 68,136)
Gloucester 15.7% (14,499 out of 92,454)
Overall 17.1% (80,618 out of 472,376)
Gloucestershire Constabulary’s Chief Constable Mick Matthews said: “I would like to offer my congratulations to Martin Surl on his appointment to the new role of Police and Crime Commissioner for Gloucestershire.
“Today marks the start of what I am sure will be a strong working relationship between the Constabulary and the Commissioner to deliver our purpose of keeping people safe from harm and inspiring the highest levels of confidence in us, their local police.
“The Constabulary is committed to working positively with the PCC in the future to ensure the focus remains upon delivering a police force that best serves our communities in Gloucestershire.”