CONSERVATIVE Christopher Salmon has been elected the first police and crime commissioner for Dyfed-Powys.
The former soldier narrowly beat Labour's Christine Gwyther by 1,114 votes.
However, nearly 3,000 votes were rejected as spoiled or unclearly marked — almost three times the winner's majority.
Mr Salmon received 32,887 votes in the election, against 31,773 for former AM Ms Gwyther.
No independent candidates stood in the Dyfed-Powys election.
Mr Salmon said: "I am extremely grateful for the trust people have shown in me.
"We face a number of challenges in the coming years, not least financial challenges, but I am determined we can emerge stronger, leaner and better.
"I look forward to working with the wonderful women and men of the police, the voluntary sector and other parts of government."
Ms Gwyther thanked those who had voted for her.