Pennsylvania passed a gradual abolition law in 1780 which prohibited non-residents from holding slaves in the state longer than six months.
When the national capital moved to Philadelphia in 1790, there was a question about whether the state law would apply to federal officials.