WASHINGTON (AP) — A former aide to Sen. Maria Cantwell, D-Wash., pleaded guilty Thursday to a federal child pornography charge.

James Michael McHaney of Washington, D.C., faces up to 10 years in prison after his felony conviction. He was fired from his job as a scheduler for Cantwell after his arrest last year. Earlier, he had worked for the 2004 presidential campaigns of Democrats Dick Gephardt and John Kerry.

Prosecutors say McHaney, 28, tried to arrange a sexual encounter with a 13-year-old boy last November. Police later found child pornography in his car and home.