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
Wet and windy weather is causing widespread disruption across Cumbria and the south of Scotland, with more flooding expected today.
Sharon Grierson died in hospital from a lack of oxygen after a breathing tube was accidentally put into her oesophagus.
The boys, all aged under 16 and from west Cumbria, have been on trial at Carlisle Crown Court during the past fortnight.