1 of 12
Fernando Llano, AP
Supporters of opposition leader Leopoldo Lopez embrace and cry as they listen to Lopez's guilty verdict in Caracas, Venezuela, Thursday, Sept. 10, 2015. Lopez has been found guilty of inciting violence for his role as leader of a sometimes bloody protest movement in 2014, and was sentenced to almost 14 years in prison. (AP Photo/Fernando Llano)

CARACAS, Venezuela — Jailed Venezuelan opposition leader Leopoldo Lopez was convicted and sentenced to almost 14 years in prison Thursday for inciting violence as leader of protests last year in which several dozen people died.

Activists from his Popular Will party and his attorney confirmed the sentence against Venezuela's highest-profile opposition figure. About 200 Lopez supporters gathered in a Caracas plaza to await the verdict expressed disbelief and sadness, with several weeping and consoling each other with hugs.

In the hours before the verdict, a man died and several people were injured amid clashes outside the courthouse between government loyalists and Lopez supporters.

The opposition leader has repeatedly denied the charges and says he only urged peaceful demonstration against President Nicolas Maduro's socialist government.

Supporters of the 44-year-old, Harvard-educated former mayor of a wealthy Caracas district say the trial was marred by irregularities. The court rejected all but two defense witnesses, both of whom ultimately declined to testify, while letting the prosecution call more than 100.

The trial was all but closed to the public, and Lopez sometimes refused to attend out of protest. His lawyers said Judge Susana Barreiros abruptly ended the proceedings last week even though many witnesses had yet to take the stand.

The prosecution focused on Lopez's public statements last year when, under the slogan "The Exit," he and other hardliners pushed for Maduro's resignation just months after pro-government candidates swept regional elections.

Prosecutors say the vitriolic rhetoric encouraged protesters to burn public property and put lives at risk. Officials also accuse him of conspiring with the United States and student demonstrators to try to overthrow the government.

U.S. officials deny that accusation and have made Lopez's release a key demand for normalizing diplomatic relations. Secretary of State John Kerry phoned Venezuela's foreign minister Tuesday to express concern about the trial days after meeting with Lopez's wife, Lilian Tintori, in Washington.

The father of two young children has spent the past year and a half in a military prison outside Caracas with only family allowed to visit, but he managed to release several videos from behind bars.

In May, through a recording shot in his cell, Lopez called the largest rally Venezuela has seen since the wave of anti-government protests in 2014 that led to his jailing. In June he staged a 30-day hunger strike to demand the government schedule congressional elections.

Lopez's team accuses Maduro's government of wanting to sentence him now in hopes that any anger will fade before the vote is held Dec. 6.

Polls say Lopez continues to be one of Venezuela's most popular politicians with approval numbers approaching 50 percent, while Maduro's languish below 30 percent.

But the former triathlete is not universally liked by Venezuela's chronically divided opposition. Some leaders consider him too radical and out of touch with the poor masses who still revere Maduro's predecessor, the late Hugo Chavez.

More than 40 people were killed during last year's unrest, including both supporters and opponents of the government.

Crime, inflation and shortages have only gotten worse since then, though many people have been hesitant to take to the streets again.

An opposition march called last month was downsized to a "planning meeting" when only a handful of people showed up.

Besides Lopez, three co-defendents, all of whom had been freed before the verdict, received punishments of between 4 and 10 years by the judge on Thursday.