Nicola Sturgeon’s chief of staff is the subject of a “vendetta” by allies of Alex Salmond, the First Minister’s official spokesman has said.

The spokesman said Liz Lloyd, who has been Ms Sturgeon’s top aide for four years, was the subject of briefings by the “other side” in a public feud with the former First Minister.

READ MORE: Alex Salmond took lawyer to sex probe meeting with Nicola Sturgeon 

It followed Mr Salmond’s former chief of staff saying Ms Lloyd told him last March that she suspected the Government had received an official complaint about Mr Salmond.

Geoff Aberdein said his successor also told him she did not know any specifics and that she had not informed the First Minister of her suspicion.

Two women accused Mr Salmond in January 2018 of sexual misconduct related to alleged incidents in 2013.

Mr Salmond won a judicial review of the way the government investigated the claims last week, showing it had been unfair.

In the aftermath, Mr Salmond’s allies have not hidden their animosity towards Ms Lloyd.

One described her to The Herald as “the executioner”, and claimed she had wanted to deter Mr Salmond from attempting a return to frontline politics.

Confirming the toxic atmosphere, Ms Sturgeon’s spokesman told the media on Tuesday: “Quite clearly there is an agenda at play here in terms of Liz’s involvement.

“That has been made abundantly clear by what has been briefed by the other side.”

READ MORE: Nicola Sturgeon asked about apparent 'smears' from Alex Salmond's team 

Opponents said it added to the impression of a bunker mentality at the top of government.

On Monday, the First Minister accused friends of Alex Salmond of trying to “smear” her by feeding inaccurate claims to the press.

Ms Sturgeon's spokesman refused to elaborate on Mr Aberdein's account or explain how Ms Lloyd came to arrive at her suspicion about an official complaint.