A Cheektowaga man suspected of trafficking cocaine in Buffalo, Cheektowaga, Elma and Marilla was arrested at Erie Basin Marina about 6:20 p.m. Monday, Erie County Sheriff’s Narcotics Unit detectives.

William Gonzalez, 38, of Carefree Lane is in Erie County Holding Center pending arraignment today on two felony counts each of criminal possession and sale of a controlled substance in the third degree.

Gonzalez, accused of selling cocaine twice to an undercover agent, also was charged with misdemeanor criminal possession of a controlled substance after cocaine was found on during the arrest, detectives said.