What? The legislature in MA never passed any law banning slavery. They sold slaves in Quincy Market. They were major players in the slave trade.
And whale trade. Lol.
You need to read some more history. Just a little more. Get past the 1740’s.
The Supreme Court of the State of Massachusetts declared slavery was illegal because of a clause in the State Constitution that stated, “all men are created free and equal”.