Federal prosecutors say a New Castle police officer videotaped himself engaging in sex acts with a 16-year-old girl in 2008.
Forty-five-year-old Lawrence Ross Frame was charged Wednesday with possession of child pornography and five counts of production of child pornography.
He faces 15 to 30 years in prison on each production count and up to 10 years on the possession charge.
The girl's mother approached New Castle police Tuesday morning. Police say federal and other authorities were notified and Frame, a detective, was quickly arrested.
Frame resigned from the police department on Wednesday after nearly 20 years on the force. A message seeking information on whether Frame had a lawyer was left with the U.S. attorney's office in Indianapolis.