After successful testing in 1840, the Prussian king Friedrich Wilhelm IV ordered 60,000 of the new rifles. Dreyse set up the Dreyse-Zündnadel factory in Sömmerda with the help of state loans to ramp up production. It was accepted for service in 1841 as the "leichtes Perkussionsgewehr Model 1841", but only 45,000 had been produced by 1848. It was used in combat for the first time during the German revolutions of 1848–49 and proved its combat superiority in street fighting during the May Uprising in Dresden in 1849. Many German states subsequently adopted the weapon. The Sömmerda factory could not meet demand and produced only 30,000 rifles a year. Most of the Prussian infantry in the 1850s were still equipped with the obsolete 1839 Model caplock Potsdam musket, whose ballistic performance was clearly inferior to the French Minié rifle and the Austrian Lorenz rifle. The Prussian Army's low level of funding resulted in just 90 battalions being equipped with the weapon in 1855. Dreyse consented to state manufacture of the rifle to increase production. The Royal Prussian Rifle Factory at the Spandau Arsenal began production in 1853, followed by Danzig, Saarn and Erfurt. At first, the Spandau factory produced 12,000 Dreyse needle guns a year, rising to 48,000 in 1867.