Former MP Natalie McGarry wept tears of joys moments after appeal judges ruled she had been a victim of a miscarriage of justice.

Judges Lord Carloway, Lord Glennie and Lord Turnbull quashed the former SNP politician’s embezzlement convictions following a hearing at the Court of Criminal Appeal on Thursday.

The judges made their ruling after hearing submissions at the Edinburgh court from defence advocate Gordon Jackson QC.

READ MORE: Former MP Natalie McGarry released on bail

The details of Mr Jackson’s submissions cannot be reported for legal reasons.

The Crown was represented by Alex Prentice QC. His submissions cannot also be reported for legal reasons.

But Mr Jackson’s client, who spent the one hour and 40 minutes long hearing sitting in the dock, broke down.

The former Glasgow MP started weeping as Lord Carloway, Scotland’s most senior judge, told her of the court’s decision.

Ms McGarry was told she will have to stand trial again.

He added: “The conviction will therefore be quashed and a retrial be ordered.”

The former Glasgow East representative was jailed for 18 months in June 2019 at the city’s sheriff court after pleading guilty to stealing more than £25,000 from pro-Scottish independence groups.

The former politician was jailed after being convicted of taking cash she allegedly wasn’t entitled to from the SNP’s Glasgow Regional Association and Women for Independence.

Prosecutors said some of the money included in the sum allegedly embezzled included donations meant for a food bank.

She was said to have spent some of the money on rent, a holiday to Spain, cash transfers to her husband, Glasgow Conservative councillor David Meikle, and other lifestyle expenses.

READ MORE: Natalie McGarry’s appeal to take place in December

After pleading guilty to the embezzlement charges, Sheriff Paul Crozier told McGarry: “You have fallen very far short of the standards the general public should expect from their elected representatives.

“There is no alternative than a custodial sentence as you have shown no remorse.”

On Thursday, Ms McGarry left the appeal court and made no comment as she walked through Edinburgh’s historic Parliament Square heading in the direction of Princes Street.