BANGOR — Maine prosecutors say a Facebook posting led them to pursue charges against a 29-year-old Bangor woman for allegedly having sexual contact with a 6-year-old child.

Audrey Dam was indicted Wednesday by the Penobscot County grand jury on charges of unlawful sexual contact and endangering the welfare of a child.

Assistant District Attorney Michael Roberts tells the Bangor Daily News says Dam was communicating on Facebook with a convicted sex offender and during those conversations she posted comments about the sexual contact.

Roberts did not say how authorities became aware of the Facebook posts.

Dam faces up to five years in prison. Her arraignment date has not been set.