John Mercer discovered in 1791 that cotton fabric shrinks when exposed to a sodium hydroxide (NaOH) solution. In 1850, he patented the mercerization process, which increases the strength and dye absorption of cotton by applying NaOH under tension. However, fabric shrinkage prevented commercial adoption until 1895 when German patents applied tension during both NaOH treatment and washing, eliminating shrinkage and allowing commercial production of mercerized cotton yarn and fabric.