The pilot of a drone aircraft was released by Bridgeport police after they took him into custody for taking aerial photos of a power plant.

Police say they have resolved concerns about the remote-controlled model aircraft which was flying near the PSEG Bridgeport Harbor generating station Sunday, taking photographs . They say they’ve determined there was no security threat.

Police say the operator of the remote-controlled airplane is a citizen of China living in the United States on a student fisa. He told a security guard at the plant that his plane had gone out of control while he was flying it nearby in the West Beach section of Seaside Park, and told the guard the plane may have crashed on plant property.

The guard contacted police.

Bridgeport police say their review of the footage transmitted to the linked laptop showed about 10 minutes of aerials of the park and some views of the power plant — and also showed the plane spiraling out of control. The plane itself was not found.

Police say the operator was released with a stern warning not to fly such craft near the power plant.