The family of Philando Castile has reached a settlement of nearly $3 million with the city that employed the officer who killed him, according to reports.

Castile was shot by a police officer in 2016, after officer Jeromino Yanez pulled over him, his girlfriend and her daughter in Minnesota. His girlfriend famously streamed the aftermath of the shooting on Facebook Live, where she told viewers that Castile told the officer beforehand that he was armed and licensed to carry in an attempt to be transparent. The video went viral, leading to protests around the country.

Yanez was acquitted of manslaughter charges from the shooting less than two weeks ago. Today (June 26), Castile’s family and the city of St. Anthony, Minn. reached a $2.995 million settlement. The two parties released a joint statement on Monday.

“The city and [Valerie Castile] were able to reach this agreement avoiding a federal civil rights lawsuit which may have taken years to work its way through the courts exacerbating the suffering of the family and of the community,” the statement said, according to Washington Post. Castile’s family had previously said they planned to file a lawsuit.

Dashboard camera footage released after the trial showed Castile informing Yanez that he had a firearm in the car. Yanez shot him seconds later, despite Castile and his girlfriend’s repeated assurances that Castile wasn’t reaching for the weapon.