What caused many slaveholder to free their slaves?