CHICAGO — Jason Van Dyke, a white Chicago police officer, was found guilty of second-degree murder on Friday, nearly four years after he shot and killed Laquan McDonald, a black 17-year-old holding a knife.

The violent encounter sparked intense demonstrations across the city after authorities released a video in 2015 showing Van Dyke firing 16 shots into McDonald, which led to a sprawling federal investigation and pushed some top officials out their jobs. The closely watched trial highlighted the fraught relationship between this city’s police force and its residents, particularly people of color, as well as questions about how officers use deadly force.

Van Dyke, 40, also was found guilty on 16 charges of aggravated battery with a firearm, one for each shot fired at McDonald. He faces a maximum of 20 years in prison for the second-degree murder conviction. Each count of aggravated battery with a firearm carries a sentence of between six and 30 years. The judge can decide to have the sentences served concurrently or in succession.

Van Dyke is scheduled to appear in court on Oct. 31 for sentencing.

The officer testified that he feared for his life as he approached McDonald, who was walking erratically down a street on the city’s Southwest Side with a small knife in October 2014. An autopsy found that the teenager had PCP in his system at the time.

Van Dyke’s attorneys said the teenager would be alive if he had dropped the weapon as police instructed. Prosecutors argued that McDonald’s death was not justified and accused Van Dyke of “exaggerating the threat,” noting that he couldn’t have known that McDonald had PCP in his system when he fired.

Aislinn Pulley, a founder of Black Lives Matter in Chicago, called the verdict historic because of the rarity of a police officer being “held accountable for murdering a black person in this city.”

“The beginning of a change is possible,” she said.

After the verdict on Friday, demonstrators took to the streets to celebrate the outcome. Hundreds of marchers shut down North Michigan Avenue from Millennium Park to the Chicago River.

Van Dyke faced a first-degree murder charge, which carries a maximum sentence of life in prison. But William Calloway, the activist whose lawsuit forced the courts to release dash-cam video of the shooting, said he was not upset by the jury’s decision to convict Van Dyke on the lesser second-degree murder charge.

“Murder suffices,” he said. “Anything less than murder … would not be justice.”

Jurors who spoke to reporters after the verdict said that an acquittal was never on the table. One said that he believed that Van Dyke, an officer on the force for nearly 20 years, should have been aware that there were nonfatal tactics available to subdue McDonald.

“Instead of escalating the situation, he should have de-escalated,” the juror said. Jurors names were not released.

Jeff Neslund, lead attorney for McDonald’s family, said the family is “relieved” by the verdict. He said the teen’s mother, Tina Hunter, plans to speak at the sentencing hearing. She has largely stayed out of the spotlight, declining requests for interviews.

“This will be a time for the mother to express her outrage,” Neslund said. “She’ll be able to pour her heart out to the judge.”

The verdict is the latest fallout from McDonald’s death, a case that dominated the second term of Chicago Mayor Rahm Emanuel (D). After the footage of the incident was released in November 2015, Emanuel ousted his police superintendent, Garry McCarthy, who later said he was a fall guy and is now running for mayor. Voters then dismissed the prosecutor in the case, who waited a year to charge Van Dyke. The Justice Department launched an investigation, concluding in a scathing report last year that the department uses unreasonable, excessive force and violates residents’ constitutional rights.

A week before Van Dyke’s trial began, Emanuel announced he would not run for a third term.

Van Dyke’s defense attorney, Dan Herbert, said that Friday’s verdict marked “a sad day for law enforcement,” suggesting that police officers will now hesitate to fire their weapons in potentially dangerous situations.

Herbert said he felt the evidence did not support the jury’s determination, but added that he is relieved that Van Dyke was not convicted of first-degree murder.

“He’s standing,” he said of Van Dyke. “He’s a tough man. He knew the stakes. He knew the climate. We knew coming into it, with a Cook County venue in this case [and] with a Cook County jury, there was not a chance.”

Special Prosecutor Joseph McMahon rejected Herbert’s suggestion that the verdict would cause police officers to not take action when threatened because they feared potential litigation.

“That’s not reflective at all of the hundreds of law enforcement officers I know,” McMahon said. “I don’t think the verdict will interfere with that obligation one bit.”

Instead, he hoped it will create “a new chapter in the relationship between the law enforcement and the community.”

Laquan McDonald walks on a road (top from left to right) and is subsequently shot (bottom right) by Officer Jason Van Dyke (not pictured) in Chicago, in this combination of still images taken from a police vehicle dash-camera video shot Oct. 20, 2014. (Chicago Police Department via Reuters)

Outside the courthouse on Friday, Fraternal Order of Police President Kevin Graham blamed the city for making Van Dyke a scapegoat. He suggested that if there were more officers on the street and equipment like Tasers in every vehicle, Van Dyke would not have had to use his gun.

“We believe he acted as a police officer and did the best he could that night,” Graham said. “It’s a shame the equipment and manpower was not there when he needed it.”

McDonald’s death in 2014 — which came just weeks after black teenager Michael Brown was killed by a white police officer in Ferguson, Mo. — did not draw nationwide attention until 13 months later, when the court ordered the release of the graphic police dash-cam video. Authorities had initially said McDonald lunged at police officers, but the footage showed McDonald walking down the middle of Pulaski Road before hitting the ground when he was struck by Van Dyke’s bullets. The police department has recommended firing officers for lying about McDonald’s death, and three current or former officers were indicted last year on charges of conspiring to cover up what happened.

Van Dyke remains an inactive officer on unpaid leave, the department said Friday, pending the Chicago Police Board’s review of the recommendation from Eddie Johnson, the police superintendent, that he be fired.

Tensions surrounding the Van Dyke trial were high. Protesters gathered outside the courthouse every day of the three-week trial. Some high-rise owners in downtown Chicago warned residents of potential violence following the verdict.

The trial has drawn particular scrutiny in part because of how rarely on-duty officers are charged for fatal shootings. Convictions are even less likely to follow, as officers have wide latitude under the law to use deadly force. In recent years, fatal shootings of civilians by police officers in Cincinnati, Milwaukee, North Charleston, S.C., and the Minneapolis area have spurred intense protests and anger, followed by criminal charges. Each case resulted in an acquittal or deadlocked jury.

The verdict in Chicago is among the exceptions — the second time in recent months that a jury has convicted a police officer in a controversial shooting. In August, a Texas jury found former Balch Springs Officer Roy Oliver guilty of murder for the April 2017 shooting of Jordan Edwards, a 15-year-old black boy who was sitting in the passenger seat of a car that was driving away from a house party. Oliver was sentenced to 15 years in prison.

An ongoing Washington Post database found that on-duty police officers fatally shoot just under 1,000 people each year. A Post analysis of on-duty shootings between 2005 and 2015 found 54 police officers who had been charged in connection with such a shooting. Of those officers, 16 were convicted.

In a statement after the verdict, Johnson and Emanuel called for police, officials and residents alike to “continue to hear each other and partner with each other.”

“While the jury has heard the case and reached their conclusion, our collective work is not done,” they said. “The effort to drive lasting reform and build bonds of trust between residents and police must carry on with vigor.”

Since video of the shooting was released in November 2015 — the same day Van Dyke was charged with first-degree murder — protesters have marched on downtown Chicago streets to call for policing reforms. They have gathered in front of the mayor’s home, on Lake Shore Drive and on two lanes of the Dan Ryan Expressway to call attention to what they charged was a coverup by city hall.

City officials had fought releasing the tape in court; it was made public only after Emanuel won reelection to a second term and after Chicago’s City Council approved a $5 million settlement with the McDonald family.

Last year, the city borrowed $225 million forpolice-related settlements and judgments, bringing the total to $709 million between 2010 and 2017, according to a report by the Action Center on Race and the Economy. The organization estimates that the borrowing will eventually cost Chicago taxpayers more than $1 billion in interest for the life of the bonds.

Berman reported from Washington. Wesley Lowery contributed to this story, which was first published at 3:09 p.m. and has been updated.

Content from Allstate This content is paid for by an advertiser and published by WP BrandStudio. The Washington Post newsroom was not involved in the creation of this content. Learn more about WP BrandStudio.