US whistleblower Edward Snowden has been elected rector of one of the UK's oldest universities.
The computer analyst was nominated by a group of students at the University of Glasgow who said they had received Mr Snowden's approval through his lawyer.
The result of the ballot, which opened to students yesterday, was revealed in Glasgow today.
He defeated former champion cyclist Graeme Obree, author Alan Bissett and the Rev Kelvin Holdsworth who also stood.
Mr Snowden became a wanted man when his leaks brought to light secret National Security Agency documents which revealed widespread US surveillance of phone and internet communications.
He is staying in Russia where he was given temporary asylum.
A statement from the group which nominated Mr Snowden said: "We are incredibly delighted to see Edward Snowden elected as the new Rector of Glasgow University.
"We have a proud and virtuous tradition of making significant statements through our rectors and today we have once more championed this idea by proving to the world that we are not apathetic to important issues such as democratic rights.
"Our opposition to pervasive and immoral state intrusion has gone down in the records. What is more, we showed Edward Snowden and other brave whistleblowers that we stand in solidarity with them, regardless of where they are.
"In the following weeks we will continue to campaign for the NSA and GCHQ to cease their assault on our fundamental right to privacy and for Edward Snowden to be recognised as the courageous whistleblower he is, rather than a traitor.
"For now, however, we are simply excited to see what our new rector has to say about the title."
The role of rector is to represent student issues to senior management at the university, but previous incumbents have been elected as political statements.
Winnie Mandela was elected in 1987 and Israeli whistleblower Mordechai Vanunu became rector in 2005, despite students knowing that neither would be able to travel to Glasgow and take up the practical role of the position.
The election was held under the single transferable vote system. Mr Snowden received 3,124 votes in the first round and 3,347 in the second. The nearest candidate was Mr Holdsworth, with 1,563.
PhD student Chris Cassells, part of the group that nominated Mr Snowden, said: ''We had no idea what the outcome would be but obviously we are absolutely delighted that so many students felt that this was an important enough issue to come out and vote.
"It's in the same tradition that elected Vanunu and Mandela. It's a clear statement from Glasgow students that they stand in opposition to pervasive state surveillance and that they celebrate Edward Snowden for his actions as a whistleblower.
"I doubt that he (Snowden) knows yet but we will be informing his legal representatives as soon as we can.
"We're very hopeful that he will be able to deliver the inaugural address in April either via video link or a pre-recorded message and hopefully that will be the first in a series of engagements."