An East Jefferson gymnastics coach arrested in November on charges of possessing child pornography and secretly making videos of a 9-year-old girl changing her clothes has been sentenced to 25 years in prison.

Brian Townsend, 43, of Kenner, pleaded guilty Tuesday to 10 counts of possession of child pornography and 11 counts of video voyeurism between 2010 and 2015, Jefferson Parish District Attorney Paul Connick’s office said.

Judge Stephen Enright, of the 24th Judicial District Court, accepted the plea agreement, handing down 25-year sentences for the child pornography charges and 10-year sentences for the video voyeurism charges. The sentences will run concurrently.

The Kenner Police Department opened an investigation in July after learning from the State Police that Townsend, a longtime gymnastics coach, was sharing and downloading child pornography on the Internet using peer-to-peer file sharing software, Connick’s office said.

Kenner police, State Police and the FBI’s Innocent Images Task Force were able to remotely view videos of prepubescent girls engaging in sexual activity that were on Townsend’s computer.

Police searched Townsend’s home on Oct. 29 and found 13 videos of a 9-year-old girl whom he secretly recorded with the video camera on a cellular device that he hid in a room where he sent the child to change her clothes, the DA’s Office said.

Townsend told investigators he has been a gymnastics coach at Kenner and Metairie businesses.

Assistant District Attorney Angad Ghai prosecuted the case.

Follow Chad Calder on Twitter, @Chad_Calder.