Parkland (Etats-Unis) (AFP) - Nikolas Cruz was expelled from school, threatened fellow students and posted "very disturbing" messages on social media, along with pictures of his favorite guns.
But despite broad signs suggesting he was a deeply troubled young man, Cruz was able to return to his Parkland, Florida high school Wednesday with an assault rifle and open fire, killing 17 students and adults.
A mugshot of Cruz, released after his arrest, depicts a young man seemingly little different from any other 19-year-old -- cleanly-cut chestnut hair, hazel eyes, his face speckled with freckles.
But the information emerging since his attack suggests there were red flags that should have set off danger alerts.
Fellow students knew he posted violent messages on line. And someone using the same name had published a comment on YouTube last year saying: "I'm going to be a professional school shooter."
That was reported to the FBI, but they never traced it back to Cruz.
Cruz had also joined the white supremacist group Republic of Florida, participating in their paramilitary training exercises, a member of the group told US media.
And Broward County Mayor Beam Furr said he had been treated for a time at a mental health clinic, though he had not been back for over a year.
- 'A lot of problems' -
Cruz arrived Wednesday afternoon at Marjory Stoneman Douglas High School in a sprawling Florida suburb north of Miami just before school let out, opening fire with an AR-15 semi-automatic rifle originally designed for combat.
Before he was expelled last year, he had a reputation among the 3,000-strong student body as "weird" and "threatening," according to students and teachers.
"I met him last year, he was in my class at the beginning of the year and when I first met him I knew that something was off about him and he was kind of weird," Manolo Alvarez, 17, told AFP.
"People would bully him once in a while and spread rumors about him, like he was planning a school shooting, and nobody believed it. We thought it was just rumors until sadly it actually happened," Alvarez said.
Dakota Mutchler, 17, told the Washington Post he began selling knives in school out of his lunchbox, and posted on Instagram about his guns and about killing animals.
His interest in guns wouldn't have been extraordinary. He had been a member of the Junior Reserve Officers' Training Corps, a government high school program that provides preparatory training for the military, including marksmanship.
But his behavior eventually gave rise to strong concerns from the school administration.
According to another pupil, Nicholas Coke, Cruz had "a lot of problems," recalling an incident during middle school when Cruz kicked out a window.
- 'They didn't see this coming ' -
Jim Gard, a math teacher who had taught Cruz for a semester in 2016, told the Miami Herald that teachers were notified he had been expelled, and could not be permitted back on school grounds with a backpack.
"There were problems with him last year threatening students, and I guess he was asked to leave campus."
He clearly had a difficult childhood. Cruz was given up for adoption at birth in September 1998, along with a brother. The adoptive parents were a couple in their 50s, according to the Sun Sentinel, the local newspaper.
His father died when he was still young, while his mother passed away last November, leaving the boys in the care of a family friend, according to the Sentinel.
Neighbors said he got in trouble repeatedly for minor incidents as he grew up, and that police were called a number of times, the Sentinel reported. One said he was seen shooting another neighbor's chickens.
When he moved in with another family after his mother died, they kept his legally owned AR-15 locked in a cabinet, though Cruz had a key, according to Jim Lewis, the family's attorney.
"The family is devastated, they didn't see this coming," Lewis said, according to the Sentinel. "He was a little quirky and he was depressed about his mom's death, but who wouldn't be?"