SPRINGFIELD - Springfield resident James Collins, 33, pleaded guilty Thursday in federal court of two counts of possession with intent to distribute and distribution of cocaine base.

U.S. District Judge Michael A. Ponsor is scheduled to sentence Collins on Jan. 19. He faces a sentence of between 10 years and life.

Prosecutors told the court that if the case had gone to trial, they would have presented evidence that Collins on two occasion in May and June of last year sold nearly 100 grams of cocaine to a cooperating witness.

The case was investigated by the FBI’s Western Massachusetts Gang Task Force, consisting of law enforcement personnel from the Federal Bureau of Investigation, the Massachusetts State Police, Springfield Police Department and the Hampden County Sheriff’s Office.