A Navy SEAL was arrested for molesting a young girl on camera and storing dozens of child pornography images on his iPhone, court documents show.

Petty Officer 1st Class Gregory Kyle Seerden — of SEAL team 1 — was arrested this week in San Diego, where he was stationed, and was in the process of being transported to Virginia, where he’ll be arraigned on four felonies, including production of child pornography, the Virginian-Pilot reported.

In a statement to The Post, Navy officials confirmed they are cooperating with authorities and that Seerden is an active-duty service member assigned to a Naval Special Warfare Unit.

The charges against Seerden, which were unsealed Wednesday, follow a Naval Criminal Investigative Service probe of an unrelated case in which he was accused of raping a woman in a Norfolk hotel. Serdeen does not currently face charges in the incident.

While drinking with Seerden last January, the woman said she blacked out and only remembered Seerden on top of her in his hotel room, telling him to stop. She learned after waking up at 4 a.m. that they had sex, she said. Seerden later dropped her off at a gate in Joint Expeditionary Base Little Creek-Fort Story.

Seerden, according to court documents, was on temporary duty at the time of the alleged assault. NCIS agents investigating the woman’s claims then searched his iPhone 7 — which revealed dozens of images of young girls and boys engaged in sex acts, according to court documents cited by the Virginian-Pilot.

At least one of the images apparently involved a naked child and an aroused dog, while another appears to depict bondage. In all, 78 images of suspected child porn were found, according to court documents.

In early January, four videos and one photograph apparently were made using the phone and depicted a man masturbating next to a sleeping child and the girl being touched in a sexual manner. The man’s face was not shown during the video, but investigators noted he was wearing a light blue shirt, according to court documents.

Other time-stamped photos on the phone’s camera showed Seerden wearing a light blue shirt while reading the victim and three other children a book.

Seerden faces a minimum of 15 years in prison if convicted on the child pornography production charge alone. Messages seeking comment from Seerden’s court-appointed attorney in California were not immediately returned, the Virginian-Pilot reports.

Joshua Stueve, a spokesman for the US Attorney’s Office for the Eastern District of Virginia, declined to comment when reached by The Post on Friday.