The man allegedly sent a series of text messages threatening to kill the person, according to charging documents.