A retired NYPD officer has been arrested, accused of possessing child pornography.

Nassau County officials say 47-year-old Frank Castro was arraigned Wednesday for possessing a sexual performance of a child and promoting sexual performance.

The Nassau County district attorney says investigators from her office traced the images to Castro's computer at his home in East Meadow, Long Island.

Bail was set at $50,000.

Castro is due back in court Friday.

He faces up to seven years in prison.