An Opelousas man who was the target of a six-month drug investigation was arrested Thursday night after he allegedly sold crack cocaine to an undercover police officer, Opelousas Police Chief Perry Gallow said in a release.

Joshua Johnson, 28, of 918 Truman St., was arrested and crack cocaine with an estimated street value of $3,500 was confiscated in the operation in which Opelousas teamed up with State Police and the Patterson Police Department.

Gallow said that once Johnson realized he was in a sting he tried to flee but was caught by a team comprising officers from Opelousas, State Police and the St. Landry Parish Sheriff’s Office.

Officers searched two homes associated with Johnson, at 918 Truman St. and 925 Truman St. In the second house a 40-caliber handgun was located, Gallow said.

The investigation netted about $15,000 worth of crack cocaine, Gallow said, and the arrests of two other suspects: Damiel Pierre, 31, of 1316 Cherokee Drive, and Blonda Hunt, 43, of 1747 Caddo St.