In the 1890s, 32,000 labourers from British India were recruited to East Africa under indentured labour contracts to construct the Uganda Railway. Most of the surviving Indians returned home, but 6,724 decided to remain in East Africa after the line's completion. Subsequently, some became traders and took control of cotton ginning and sartorial retail.