Hundreds of people gathered at St Giles Cathedral in Edinburgh to pay their final respects to former foreign secretary Robin Cook.
BBC Scotland's news website brings together some of the tributes and comments from the service, attended by family, friends and senior politicians.
REVEREND RICHARD HOLLOWAY
"This historic cathedral is not just the home of a Christian church, it is an important place in the civic and community life of Scotland. So it is entirely fitting that it is where we meet to give thanks for one of Scotland's greatest sons and in which to express our feeling of sorrow and loss at his untimely death."
CHANCELLOR GORDON BROWN
"His mission and his achievement was not just to make great speeches but to advance great causes - and he did. This is how I believe we best remember Robin, not just for what he said and how he said it but what he stood for - the greatest parliamentarian of our time, who put all his talents and his life at the service of the greatest causes of our time."
CHRISTOPHER COOK
"When I was 12 my dad said to me, in a friendly way, 'By the time I was your age, I had read all of Dickens and most of Scott'. Twenty years later, I'm afraid I still can't claim to be as well read as my dad was before he was even a teenager. But I did at least manage to read his book whilst there was still time to discuss it with him."
MOHAMMAD SARWAR, LABOUR MP
"Robin was a man of great integrity, courage and vision and, more important for me, he was a friend. I have been involved in politics for 30 years and, in that time, I can honestly say I have never come across a more principled politician."
RACING PUNDIT JOHN McCRIRICK
"I believe the prime minister's snub to Robin's family, to millions of new Labour voters, demonstrates a petty vindictiveness and moral failure, opting to continue snorkelling instead of doing his duty."
LORD FOULKES
"I just think it was a pity it was spoiled by John McCririck. What he said was inappropriate for a funeral service. He was also wrong in what he said. Tony Blair will lead tributes to Robin Cook in London, which will be an even bigger occasion than this."
SHAHID MALIK, LABOUR MP
"He had the respect, presence and gravitas that most parliamentarians can only dream of."