Dallas police body camera footage released this week after a three-year legal fight shows a 32-year-old man’s last moments after he was pinned to the ground by officers.

The man, Tony Timpa, had called 911 from the parking lot of a pornography store on Aug. 10, 2016, telling the dispatcher he needed help, the Dallas Morning News and NBC5 reported after a lengthy investigation. He said he had schizophrenia and was off his medication. By the time the police arrived, Mr. Timpa was highly agitated and had been handcuffed by security guards.

The video footage shows how responding officers restrained Mr. Timpa as he pleaded for them to let him go.

“You’re going to kill me,” he shouted repeatedly.

The footage, which the news organizations had sought, is part of a lawsuit filed by Mr. Timpa’s family alleging that the police used excessive force. A federal judge ruled in favor of a motion by the media organizations to release the records on Monday.