 Various modernizations occurred, principally between 1840 and 1860, when factories with a high level of technological capability were created, able to compete with other major international centers.Other improvements came with the establishment of factories and forges geared for the production of equipment and pieces for textile manufacture.And now Brazil ranks second in the world’s largest producer of denim, the third – for the production of knitted fabrics, the fifth – for the manufacture of clothing and seventh – for the production of yarns and fibers.