BUFFALO, N.Y. — A pastor who worked the City of Buffalo in programs with children has admitted to sexual abuse.

The man, 51-year-old Antwan Diggs, pleaded guilty Thursday to the crime that prosecutors say happened last August.

He's no longer employed by the city, and he could get seven years in prison when he's sentenced in May.

Investigators in October said Diggs allegedly engaged in sexual conduct on August 19 with another person by forcible compulsion. He is also accused of forcibly touching the victim.

During a news conference last October, District Attorney John Flynn would not give out any details about the victim or circumstances surrounding the charges but did say Diggs had two prior felony convictions.

RELATED: City of Buffalo employee charged with criminal sexual act

RELATED: Teen charged in murder of youth football coach facing more charges

RELATED: Greece man charged with threatening to kill Senator Schumer, California congressman