In 1868 Margaret E. Knight invented a machine that cut, folded, and glued flat bottom paper bags.