University of Kentucky President Eli Capilouto sent a letter to students, faculty, and staff informing them of a situation that happened Monday afternoon on campus.

The University of Kentucky Police Department arrested a man, identified as Diontre Davis, and charged him with carrying a concealed weapon and criminal trespassing. Davis, who is from Texas and not a UK student, entered a not guilty plea in court on Tuesday.

President Eli Capilouto says that an employee at the Buell Armory saw a man and suspected he was carrying a gun. UK Police officers were on scene within 90 seconds and found a gun on Davis.

"Today was a perfect example, if you see something, say something," said UK Police Chief Joe Monroe. "The call came in very quickly, we responded very quickly, with adequate use of force, and were able to subdue the individual without any injury to anyone."

According to his arrest citation, police were made aware of threats made by Davis on Twitter back in October 2016.

Police, working with Twitter, were able to track the IP address used to post the threats to Fort Worth, Texas.

The threats posted on Twitter were graphic and directed toward a UK student, according to investigators.

"She deserves to die a slow & painful death #forrealthistime," read one tweet. "I swear to Jesus I'm gone kill the *****. I love playing games. nobody beefs with me anymore. I can't wait to kill this ***. I've got so much built anger; I could take off today," read another tweet.

Police contacted Davis by phone in October 2016. He told police he was supposed to meet up with the victim when he was in Lexington. Something came up, and he had to cancel, and that's when he says the victim got mad at him. From that point on, Davis says the victim's friends began following him in Lexington and out of the state.

According to his arrest citation, Davis admitted he posted the tweets but said he did not plan to kill anyone.

Another tweet investigators say they linked to Davis caused concern for the University of Kentucky Air Force ROTC program.

In the tweet, Davis allegedly tagged two friends of the victim when he said "if (they) gets in the ay or any weak *** non shooting air force ****** *** ROTC ***** redneck wants it I got 225 7.62's," referring to a type of rifle ammunition.

Once UK was made aware of the above tweet, the citation says UK ROTC planned to cancel events on campus that involved their cadets wearing uniforms. Leaders were concerned the cadets could be in danger if Davis came to Lexington to attack the victim.

Davis's father was able to help police put another of his son's tweets in context. Davis tweeted "better research Ulysses S Davis Lexington Ky! ***** i'm not bull******* with the gunplay."

Ulysses Davis is Davis's uncle. He was arrested in 1986 for firing a rifle at people on the UK campus. Investigators said Ulysses Davis was upset after being fired from the university.

During his arraignment, the judge ordered Davis to stay off UK's property if he makes bond. He is also banned from possessing any weapons and will be required to wear electronic monitoring.

The judge set a preliminary hearing date for December 14 in the case.