A Texas 19-year-old has been arrested for allegedly plotting to shoot up an Amazon warehouse where he worked.

Prosecutors have charged Rodolfo Aceves with terroristic threats causing public fear and set his bond amount at $50,000, according to Bexar County.

"This case highlights the importance of community collaboration and appropriate responses. This is the essence of ‘see something, say something,’" the San Antonio Police Department stated in a June 29 Facebook post. "If not for the witness who came forward, this incident could have resulted in a tragic outcome."

LIVE UPDATES: SUSPECT ARRESTED IN ILLINOIS FOURTH OF JULY PARADE SHOOTING THAT KILLED 6 PEOPLE

Last week, officers responded to a report of threats at the delivery station on the 8200 block of Sous Vide Way, the San Antonio Police Department said in a Facebook post.

Upon arrival, officers spoke with several people who reported hearing the suspect detailing plans to execute a mass shooting at the delivery center. 

CLICK HERE TO GET THE FOX NEWS APP 

Detectives were immediately notified and discovered information leading them to interpret Aceves' comments as a "legitimate potential mass shooting threat."

Authorities "quickly" located and detained Aceves without incident. Detectives also seized an AR-15from the suspect's residence, according to police.