(CNN) Just months before Nikolas Cruz killed 17 at his former high school in South Florida, the host family who had taken him in immediately after his mother's death warned local law enforcement that the 19-year-old had "used a gun against people before" and "has put the gun to others' heads in the past," according to records obtained by CNN.

It's the latest indication of how law enforcement encountered warning signs about Cruz's violent behavior before he attacked students and teachers at Marjory Stoneman Douglas High School on Valentine's Day.

CNN has obtained records from the Palm Beach County Sheriff's Office that detail deputies' interactions with Cruz in the home where he lived for a few weeks in November, before he moved in with another family, the Sneads, and months before the massacre.

In November, Cruz's mother died after being diagnosed with pneumonia. Lynda Cruz was a widow raising her two adopted teenage boys by herself in Broward County, according to acquaintances CNN interviewed. Without anyone to turn to after their mother's death, Nikolas Cruz and his younger brother Zachary were both taken in by Rocxanne Deschamps, a former neighbor who had been close to the family.

Thousands of mourners attend a candlelight vigil the day after the shooting at Marjory Stoneman Douglas High School shooting in Parkland, Florida.

The boys moved north into her mobile home in suburban Palm Beach County. That's where, according to records, Cruz allegedly continued to have the same explosive, violent outbursts he had as a young boy living at his mother's home.

Read More