From what source was raw cotton first bought and later resold