Alex Salmond, the former first minister of Scotland, was acquitted on Monday of sexual offenses that involved accusations from nine women.

A jury at the High Court in Edinburgh found Mr. Salmond, the former leader of the Scottish National Party, not guilty of 12 charges, including one count of attempted rape and several sexual assault charges.

The trial, which started on March 9, ended on Monday after the jury deliberated for about six hours, according to British news reports.

Mr. Salmond, who was first investigated by Police Scotland after two women said that he had sexually harassed them in the past, was initially charged with 14 offenses, in January 2019. He denied all the accusations against him.