ALBANY - A Schenectady man pleaded guilty Wednesday to distributing crack and powder cocaine, federal officials said.

Terrance Robinson, or "Rico," admitted to selling unspecified amounts of powder cocaine for $1,300 in September 2016 and $1,500 in November 2016 as well as an unspecified amount of crack cocaine for $170 in November 2016.

Robinson, 31, faces up to 30 years in prison and a term of post-imprisonment supervised release of at least six years and up to life, according to U.S. Attorney Grant C. Jaquith and FBI Special Agent in Charge Vadim D. Thomas.