“When the revolutionary war started, seven northern colonies wound up declaring slavery illegal and done.”
That is an interesting comment.
May we see your data?
https://en.m.wikipedia.org/wiki/Timeline_of_abolition_of_slavery_and_serfdom
Start at the year 1775 where it starts mentioning the colonies/states.