The Scottish Conservatives missed out on the Leaderdale and Melrose by-election seat.
Candidate Rachael Hamilton topped the ballot on the first preferences transfers under the Single Transferable Voting system, but lost the last stage to The Borders Party's Iain Gillespie.
“While I am obviously delighted to have come so close to getting elected, the system in this instance has worked against me.
"To receive the highest number of first preference votes sends a positive message about the amount of Conservative support in Leaderdale & Melrose.
“It is a shame that the voting system has cost us, and that despite being most people’s preferred candidate transfers have meant that we have missed out. It does show however that despite results elsewhere in the UK, the Conservatives are making gains here in the Borders."
More top news
Almost half a million pounds from the Heritage Lottery Fund will protect the remains of the former copper mines in Coniston.
A look ahead at the forecast for the Border region.
His father, Secretary of State for Scotland David Mundell, is one of the highest profile Remain supporters north of the border.