The teenager charged with killing 17 people at Marjory Stoneman Douglas High School on Valentine’s Day told police that a “demon” urged him to burn, kill, and destroy before the attack.

That is according to a recently released segment of a tape made just after officers arrested the 19-year-old in February in Parkland, Florida.

On the tape, the alleged shooter also said he wanted to die.

“Kill me,” he reportedly muttered to himself after an officer briefly left the room, according to a transcript. “Just (expletive) kill me. (Expletive)”.

The new portions of the transcript have been made publicly available after news organisations sued for their release under Florida’s public records law. A judge in Florida released the new segments Monday.

“Why didn’t he kill me?” the shooter says aloud at one point, though he does not clarify who he is talking about. “Why didn’t he kill me? Why didn’t he kill me? Why didn’t he kill me? Why didn’t he kill me?”

Florida shooting – in pictures Show all 10 1 /10 Florida shooting – in pictures Florida shooting – in pictures Police arrest a suspect in connection with the shooting at the Marjory Stoneman Douglas High School in Parkland, Florida Reuters Florida shooting – in pictures Parents wait for news after reports of a shooting at Marjory Stoneman Douglas High School in Parkland, Florida AP Florida shooting – in pictures Anxious family members wait for news of students AP Photo/Wilfredo Lee Florida shooting – in pictures Students being evacuated from the school AP Florida shooting – in pictures Students being evacuated from the school Getty Florida shooting – in pictures People gather waiting for word from students AP Florida shooting – in pictures Parents waiting for news on their children AP Florida shooting – in pictures People gather at a hotel where students were taken after the shooting Getty Florida shooting – in pictures Florida Governor Rick Scott speaks to the media as he visits Marjory Stoneman Douglas High School following the shooting AFP/Getty Florida shooting – in pictures Dr. Igor Nichiporenko, Medical Director Trauma, left, and Dr. Evan Boyer, Medical Director, Emergency Services, speak about treating victims and the suspect at a press conference outside Broward Health North hospital AP

He also said that the demon in his told him to “Burn. Kill. Destroy”.

Prosecutors are seeking the death penalty for the alleged shooter, who has been identified as a former student at the school, Nikolas Cruz, 19.

Mr Cruz’s lawyers have offered to enter a guilty plea if prosecutors agree to a plea deal in which they spare him from the death penalty. But, that offer has been declined by the prosecutors on the case.

Since the shooting, it has been discovered through Mr Cruz’s educational records that the school did not provide adequate therapeutic services to him while he attended the school.

Mr Cruz dropped out of the high school in February 2017, and bought the AR-15 rifle that he allegedly used in the attack earlier this year.