Between 1800 and 1860, Connecticut manufacturers applied the system to the manufacture of economically priced high quality firearms, leading to Connecticut's nickname "the arsenal of democracy." This all started in 1797 when Eli Whitney began to manufacture weapons, later the Connecticut Valley Arms company. Middletown, Connecticut was the major supplier of pistols to the United States government during the War of 1812, with numerous gun manufacturers in the area. In 1810, Oliver Bidwell built the first pistol factory in the United States on the Pameacha River in Middletown, winning a contract with the United States War Department for handmade pistols. Also in 1810, Colonel Simeon North built a pistol factory in Middletown on the West River, now the Coginchaug River, also winning a contract from the United States Secretary of War, which led to enlarging his factory to 8,500 square feet (790 m²); he built about 10,000 pistols a year, up until just before the Civil War, designing America's first milling machine. Even more successful was Colonel Nathan Starr Jr., whose factory (built of stone quarried from the river) was about the same size as North's, and located across the river half a mile northeast. Starr initially manufactured swords, about 5,000 a year; including presentation swords for the state of Tennessee and War of 1812 heroes, colonel Richard M. Johnson, General Edmond P. Gaines, and General Andrew Jackson. The factory later manufactured muskets and rifles until 1845, after which the United States government started government armories in Massachusetts and West Virginia partially modeled after Starr's. In 1812, John R. Johnson and John D. Johnson built a factory, also on the Pameacha River. Robert and John D. Johnson manufactured Model 1817 common rifles in 1821 to 1827. After this period, firearm manufacturing declined in Middletown but briefly revived during the Civil War. The Savage Revolving Fire Arm Company manufactured pistols between 1859 and 1866, and the Sage Ammunition Works manufactured ammunition between 1864 and 1867.