Yes. It began to be phased out beginning in 1780. By 1840, there were only 64 known slaves in Pennsylvania.