A 31-year-old Cochise County detention officer was arrested Thursday night at his residence on drug charges.

Mark Melgoza is accused of possession with intention to distribute controlled substances, said FBI Special Agent Manuel Johnson.

The Cochise County Sheriff’s Department received a tip Melgoza was involved with illegal drugs, department spokeswoman Carol Capas said in a news release.

The department asked the FBI to launch an investigation and about 300 pounds of marijuana and a small amount of cocaine was found in Melgoza’s home, the news release stated.

Melgoza was arrested Thursday and resigned Friday.

The investigation is ongoing, Johnson said.