SANTA MARIA, Calif. (AP) — Police say a drug dealer mistakenly sent messages to a California central coast police officer in an attempt to sell methamphetamines.

The Santa Maria officer notified Santa Barbara County sheriff's detectives about the errant text messages early Tuesday. The officer and detectives then set up a meeting with the alleged drug dealer.

Sheriff's spokesman Drew Sugars says they arrested 39-year-old Reymundo Carlos Escobedo and seized about 2 grams of methamphetamine.

A news release says 37-year-old John Martin Silvera, who is Escobedo's suspected methamphetamine supplier, also arrived and was arrested with about 7 grams of methamphetamine.

Escobedo and Silvera remain held on drug charges, including criminal conspiracy. Bail is set at $30,000 each.