The jury in the Alex Salmond trial has retired to consider its verdicts.
The former first minister denies 13 charges involving nine women, including sexual assault and attempted rape.
Judge Lady Dorrian told jurors they must decide whether the charges have been proven beyond reasonable doubt.
She explained there are three verdicts available – guilty, not guilty and not proven, which are both verdicts of acquittal.
Earlier on Friday morning, the court was told by Salmond’s lawyer that the ex-SNP leader could have been a “better man” but was not guilty of sexual offences.
Gordon Jackson QC, defending, said there was a “pattern” where “something that was thought nothing of at the time” has become a criminal charge in the High Court in Edinburgh.
Mr Jackson started his closing speech to the jury with a quote from one of the complainers. “I wish for my life the first minister was a better man and I was not here,” he said.
He said it was a “good line”, which was also used at the beginning of Crown prosecutor Alex Prentice QC’s closing speech on Thursday.
Mr Jackson said: “If in some ways the former first minister had been a better man, I wouldn’t be here, you wouldn’t be here, none of us would be here.
“I’m not here to suggest he always behaved well or couldn’t have been a better man on occasions. That would be a waste of my time.
“But I’m in a court of law and I’m dealing, not with whether he could have been a better man, because he certainly could have been better.
“I’m dealing with whether or not it was established he was guilty of serious, sometimes very serious, criminal charges.”
Mr Jackson told the jury to find the charges proved requires a “very, very high standard of proof”.
He added: “You have to be satisfied to that very high standard.
“There’s only to be guilt in these matters, not because someone could have been a better man.
“There can only be guilt in these matters because of that standard of proof.”
Mr Jackson suggested there was something “strange” about the allegations turning from being inappropriate to criminal, telling the jury the case “stinks”.
He said: “There’s something that does not smell right about the whole thing and you’re supposed to be satisfied beyond reasonable doubt that the former first minister was, not an eejit or inappropriate, it was criminal – serious, serious matters.”
The lawyer pointed to one of the more “trivial” allegations, which he said had been used to bolster the two charges which are serious – allegations of intending to rape and attempting to rape – adding: “This is scary stuff.”
Mr Jackson said Salmond has 30 years of public service, dealing with thousands of people, with charges coming only out of his time as first minister.
He added that his client was a “Marmite man”.
He said: “I don’t know what’s going on. I’m not suggesting you can work it out either.
“But I do know this – every single complainer brought to this trial is in the political bubble.
“This has gone far enough, gone on long enough, too long maybe, and it’s time I say to you, quite bluntly, to bring this to an end.”
Salmond, 65, is on trial over accusations of sexual assault, including an attempted rape.
His lawyers previously lodged special defences of consent and alibi.
The trial, before judge Lady Dorrian, continues.
Follow STV News on WhatsApp
Scan the QR code on your mobile device for all the latest news from around the country