Egyptians grew and spun cotton in the first seven centuries of the Christian era.
Handheld roller cotton gins had been used in India since the 6th century, and was then introduced to other countries from there.Between the 12th and 14th centuries, dual-roller gins appeared in India and China. The Indian version of the dual-roller gin was prevalent throughout the Mediterranean cotton trade by the 16th century. This mechanical device was, in some areas, driven by water power.
The spinning wheel was invented in India, between 500 and 1000 AD. The earliest clear illustrations of the spinning wheel come from the Islamic world in the eleventh century.