A child made threats against a Walmart in Fredonia, police say.

Officers arrested and charged the child for making a terroristic threat. They say the child confessed to calling in several threats of gun violence, based on YouTube videos the child had watched of others doing the same thing.

Police say the child was never in the Walmart nor did they ever have any guns.

The child's name has not been released.

Stay in Touch Anywhere, Anytime with News, Weather and Video -- Download the WKBW app:

Android App

iPhone/iPad App

Or Sign Up for Our Newsletters -- Delivered to Your E-mail:

E-News, Forecast and Bills Beat Newsletters