Leopoldo Lopez, 44, was found guilty of inciting violence during protests in 2014 in which 43 people – from both sides of the political divide – were killed.
He had been held in a military prison since February 2014.
While the court verdict was being awaited, fighting broke out between his supporters and pro-government activists outside the courthouse in Caracas.
Leopoldo Lopez’s supporters said one of them had suffered a heart-attack during the disturbances.
The court ruling was revealed by Leopoldo Lopez’s Voluntad Popular (Popular Will) political party and later confirmed by his lawyers.
Leopoldo Lopez’s defense team earlier said there had been serious irregularities in the trial, with the judge hearing 138 witnesses for the prosecution but only one of the 50 witnesses and pieces of evidence submitted by the defense.
His family says he has been in solitary confinement for most of his 19 months in prison and that his human rights have been violated.
Several other opposition leaders have also been held in detention and their fate has divided opinion in Venezuela.
The US government and the United Nations have called for their release.
Reacting to the court verdict, US Assistant Secretary of State for Western Hemisphere Affairs Roberta Jacobson said she was “deeply concerned” by the conviction.
Roberta Jacobson also urged the Venezuelan government to “protect democracy” in the country.
For many poorer Venezuelans, Leopoldo Lopez is seen as a dangerous figure who incites violence and coups against the government and who is out of touch with the needs of most ordinary people.
His critics point to his involvement in 2002 in a failed coup attempt against late President Hugo Chavez.
However, Leopoldo Lopez’s supporters say he is a scapegoat for current President Nicolas Maduro during Venezuela’s economic crisis that has led to shortages of basic goods.
The US House Ethics Committee has voted to release its report on former Republican Representative…
ABC News has agreed to pay $15 million to President-elect Donald Trump to settle a…
South Korea’s parliament has voted to impeach President Yoon Suk Yeol over his failed attempt…
Israeli war planes have carried out more than 100 air strikes in Syria on December…
President-elect Donald Trump has threatened to impose 100% tariffs on the BRICS countries if they…
Syrian troops have withdrawn from the city of Aleppo following an offensive by rebels opposed…