An Arizona man who sent text messages to a Wichita police officer about a large amount of drugs he was bringing to Kansas has pleaded guilty to drug trafficking.

U.S. Attorney Barry Grissom said 31-year-old Mark McFarland of Phoenix thought text messages he received while planning his Kansas trip were coming from his former girlfriend. Instead, she had been arrested in a different case and a Wichita police officer had seized her cellphone.

Grissom said McFarland sent a text to the girlfriend's number saying "hi," and the officer texted back. The two arranged for McFarland to drive to Wichita to visit the woman and deliver five pounds of methamphetamine.

He was arrested when he arrived with the drugs.

He faces up to five years in prison and a $250,000 fine.