A Texas man drove to Naples and sent text messages to his ex-girlfriend threatening killings and a school shooting, according to Collier County Sheriff’s deputies.

David Heinze, 19, of Keller, Texas, was arrested Saturday near the Publix shopping center at Immokalee Road and Collier Boulevard.

Heinze moved from Naples to Texas in June. His girlfriend broke up with him during the move, and Heinze has sent about 50 threatening texts since, according to deputies.

The texts included threats to kill Heinze’s ex-girlfriend and her family and to go to her school and become a “mass murderer,” according to deputy reports.

More:Threat toward Collier school deemed not credible, but district's response serious

More:CCSO: Snapchat photo no threat to Collier schools

After being arrested, Heinze said he sent the text messages but had no intention to shoot a school or injure anyone, according to deputies. Heinze did have access to his father’s firearms in Texas and sent a photo of the weapons to his ex-girlfriend in Naples.

Neighbors of the ex-girlfriend saw Heinze driving near her home Saturday, according to deputies. Heinze drove from Texas to Naples on Friday.

Heinze is charged with felony intimidation — written threat to bodily injury and felony aggressive stalking or cyberstalking with credible threat. A risk protection order is being generated because of the texts and arrest, the CCSO said.

Editorial:School safety measures we hope are never tested

In Bonita:Bonita Springs High School safety a top priority, Lee school officials say