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.
Image source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…