A former intelligence analyst for the FBI was sentenced to more than three years in prison Monday for possessing child pornography.

Keith Dietterle, 28, was arrested in an undercover sting last November and pleaded guilty in federal court in Washington this spring. Dietterle, a District resident who was assigned to FBI headquarters, admitted sending an undercover officer pornographic images of children and links to graphic videos. Dietterle communicated through a social networking site with the officer, who he thought was the father of a young girl, according to prosecutors.

U.S. District Judge Amy Berman Jackson sentenced Dietterle to 42 months in prison and 10 years of supervised release.