CARMEL, Ind. -- A Carmel swim coach is facing federal charges over allegations he had an inappropriate sexual relationship with an underage girl.

John C. Goelz, 29, was arrested on Tuesday on charges of sexual exploitation of a minor and possession of child pornography.

According to U.S. Attorney Josh Minkler, federal investigators learned last month that Goelz might be involved in an inappropriate relationship with a female athlete that he coached at the Carmel Swim Club and the Carmel High School Swim Team, where he was a volunteer assistant coach.

Investigators were allegedly able to obtain screenshots of text messages between Goelz and the juvenile that indicated the two had a sexual relationship dating back to February 2018.

A search warrant executed on Goelz’s residence and cell phone also turned up evidence of multiple sexual encounters between the two, according to the U.S. Attorney’s Office, including a cellphone video depicting sexual activity between the two.

The investigation was worked jointly by officers from Homeland Security Investigations, U.S. Immigration and Customs Enforcement and the Hamilton County Metro Child Exploitation Task Force.

Following the announcement of Goelz’s arrest, Carmel Clay Schools Superintendent Dr. Michael Beresford and Carmel Swim Club President Kristin Sherman released a joint statement:

Dear Carmel Clay Schools Swim Team Families and Carmel Swim Club Families, Carmel Police notified us that John Goelz was arrested earlier this week. We wanted to share with you the following information we have received from the U.S. Attorney’s Office. We have been advised that Mr. Goelz had an inappropriate relationship with a female Carmel High School student-athlete. Mr. Goelz served as a volunteer assistant coach for the Carmel High school swim team and was also a coach for the Carmel Swim Club. He is not a teacher or otherwise employed by Carmel Clay Schools. He is no longer affiliated with either organization. We continue to be in communication with law enforcement in this ongoing investigation. We are shocked and deeply saddened this has occurred. We will evaluate the situation as more information becomes available and will continue to do all we can to keep our children safe. We ask that you respect the privacy of the family involved during this difficult time.

As of Thursday afternoon, Goelz was being held in the custody of the U.S. Marshal’s Service, with a detention hearing scheduled for July 10.

Anyone with information about this or other possible cases of child exploitation was asked to contact the Hamilton County Metro Child Exploitation Task Force at 317-595-3361.

MORE FROM THE CRIME BEAT | Indianapolis sets all-time homicide record for third year in a row | MAP: Indy's most dangerous neighborhoods | The Night the Sky Caught Fire: The Untold Stories of Richmond Hill | Convicted child molester reveals how he selected & groomed his victims | Teens killed man over weed and a pair of Air Jordans, police say | MAP: 2017 Indianapolis homicides