Bahrain opposition chief sentenced to life over 'Qatar spying'
Sheikh Ali Salman, who headed the now-outlawed al-Wefaq movement, had been acquitted by the high criminal court in June, a verdict the public prosecution appealed.
Bahrain, along with Saudi Arabia and the U, severed all ties with Qatar in 2017, banning their citizens from travel to or communication with the emirate over what they say are Doha's ties to both Iran and radical Islamist groups.
Salman is currently serving a four-year sentence in a separate case - "inciting hatred" in the kingdom - which has seen mainly Shia protests against the Sunni monarchy since 2011.
In November, Salman and two other members of al-Wefaq were charged with working for Qatari intelligence with the aim of overthrowing the Bahraini government.
King Hamad has announced parliamentary elections on November 24 in Bahrain. Members of dissolved opposition parties, including al-Wefaq and the secular al-Waad group, are banned from running.
The Sunni-ruled Gulf state has been hit by waves of unrest since 2011, when security forces crushed Shia-led protests demanding a constitutional monarchy and an elected prime minister.
Opposition movements have been outlawed and hundreds of dissidents have been imprisoned - with many stripped of their nationality.
Last year, Bahrain ratified a constitutional amendment granting military courts the authority to try civilians charged with "terrorism", a term that is loosely defined by the Bahraini penal code.
In June, the kingdom amended its law on political rights, prohibiting "leaders and members of political associations dissolved for violating the kingdom's constitution or its laws" from running in legislative elections.
Bahrain, a key ally of the US and home to the US Fifth Fleet, accuses Shia Iran of provoking unrest in the kingdom. Iran denies the allegations.
The UN and rights groups including Amnesty International and Human Rights Watch have criticised the Bahraini monarchy over its treatment of protesters.
Amnesty and HRW categorise Salman and other jailed opposition leaders prisoners of conscience.
The latest Bahrain's appeals court ruling can be appealed.
Follow us on Twitter: @The_NewArab