A former resident of Ellwood City pleaded guilty to federal charges related to the sexual exploitation of a minor.