When a white teenage man drove more than 200 miles to carry out a racially-motivated murderous rampage that killed 10 people and wounded three others at a Buffalo grocery store last year, he was allegedly inspired by algorithms that drove the social media platforms he used during the crime, a wrongful death lawsuit filed in a New York trial court alleges.

It was filed on Friday in the state Supreme Court of Erie County on behalf of a surviving victim and family of three others who were killed.