Ricky Nelson, the former mayor of Stillwater, pleaded guilty in Saratoga County court to five counts of possessing a sexual performance of a child.

He was arrested in late August after State Police became aware that an IP address in Stillwater had downloaded photographs depicting child pornography. That led Police to Nelson, who resigned as mayor later that week.

Nelson faces a total of 5 to 15 years in prison when he's sentenced in June. He'll also have to register as a sex offender.