Prominent Venezuelan opposition leader Leopoldo Lopez has been sentenced to 13 years and nine months in prison.
He was found guilty of inciting violence during protests in 2014 in which 43 people - from both sides of the political divide - were killed.
The 44-year-old 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.
Lopez's supporters said one of their number had suffered a heart-attack during the disturbances.
The court ruling was revealed by Lopez's Voluntad Popular (Popular Will) political party and later confirmed by his lawyers.
His defence 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 defence.
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.
- Born into a well-off family with links to the business and oil sector, educated in the US
- Came to prominence when elected mayor of Caracas's Chacao district in 2000
- Accused of playing active role in street protests which led to brief removal in 2002 of then President Hugo Chavez
- Was barred from running for mayoral re-election in 2008 for allegedly misusing public funds
- Handed himself in to police in February 2014 after protests
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.
She also urged the Venezuelan government to "protect democracy" in the country.
For many poorer Venezuelans, 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.
But his supporters say he is a scapegoat for current President Nicolas Maduro during the country's economic crisis that has led to shortages of basic goods.
- 28 January 2019
- 25 February 2019