A deputy U.S. marshal who authorities say tipped off his drug-trafficker father about an undercover federal agent was arrested Tuesday in the Rio Grande Valley.

U.S. Deputy Marshal Lucio Osbaldo Moya is accused of showing a photocopy of the unidentified agent's driver's license to colleagues last fall and, upon learning it belonged to an undercover investigator, sending a warning text to his father, who has served prison time for various drug charges.

Moya, 29, was arrested Tuesday morning during a traffic stop, prosecutors say.