The Broward state attorney's office has released edited body camera footage of Nikolas Cruz's arrest.
Cruz was captured by officers less than an hour after he brought an AR-15 style semi-automatic rifle into the school he once attended and started shooting.
In the footage, Cruz is heard talking about "the demons" and "voices" while he was handcuffed and on the ground.
"Where's the voices?" Cruz asks. "What the f---? Where the f--- am I? Holy s---. What happened?"
Officials said Cruz was expelled from the school in 2016 for unknown disciplinary reasons. An arrest affidavit said Cruz purchased the gun in February 2017, and ATF officials said it was purchased lawfully.
Cruz was wearing what appeared to be a Junior Reserve Officers' Training Corps shirt from the school with an eagle logo on the arm. Students told NBC 6 that Cruz was a part of the JROTC when he attended the school.
Cruz tried to blend in with a group of students who were fleeing the scene. He went to a nearby Walmart where he bought a drink at Subway, then walked to a McDonald's, Israel said. He was taken into custody by a Coral Springs officer about 40 minutes after leaving the McDonald's.
The 20-year-old Cruz faces the death penalty if convicted in the mass shooting that killed 17 people at Marjory Stoneman Douglas High School on Feb. 14, 2017. Prosecutors rejected a guilty plea in exchange for life in prison.