The worm gear roller cotton gin started being used in the Mughal Empire before the 17th century .
The worm gear roller cotton gin , which was invented in India during the early Delhi Sultanate era of the 13th–14th centuries , came into use in the Mughal Empire some time around the 18th century , and is still used in India through to the present day .