The first practical and widely used sewing machine was invented by Barthélemy Thimonnier, a French tailor, in 1829. His machine sewed straight seams using chain stitch like Saint's model, and in 1830, he signed a contract with Auguste Ferrand, a mining engineer, who made the requisite drawings and submitted a patent application. The patent for his machine was issued on 17 July 1830, and in the same year, he opened (with partners) the first machine-based clothing manufacturing company in the world to create army uniforms for the French Army. However, the factory was burned down, reportedly by workers fearful of losing their livelihood following the issuing of the patent.