In 1942 engineer Wacław Zawrotny proposed to the Armia Krajowa command that he and his colleagues prepare a project of a cheap, home-made machine pistol for use by the Polish resistance. Its main feature was its simplicity, so that the weapon could be made even in small workshops, by inexperienced engineers. The idea was accepted, and Zawrotny, together with his colleague Seweryn Wielanier, prepared a project of a sub-machine gun, soon afterward named Błyskawica. To allow for easier production, all parts of the weapon were joined together with screws and threads rather than bolts and welding, which were commonly used in firearm production ever sincethe 17th century. The design was based on two of the most popular submachine guns of the era. The external construction with a retractable butt and magazine mounted below the gun was borrowed from the successful German MP 40. The internal design of the mechanism was modeled after the British Sten. Blowback, with an open bolt, it offered good performance and high reliability. Unlike the Sten, and its Polish clone called the Polski Sten, it employed a free-floating firing pin and two springs behind the bolt - one served as the return spring and the other as the buffer spring. The weapon was designed in this fashion so that resistance army members could use any captured stocks of German MP40 ammunition cartridges. The documentation was ready by April 1943, and by September a prototype was ready. After extensive tests in the forests outside of Zielonka near Warsaw, the weapon was presented to the commanding officer of the KeDyw, August Emil Fieldorf, who found the design acceptable. In November the plans were sent to a number of workshops spread throughout occupied Poland and a serialproduction run was initiated. The name was coined after the three lightning bolts carved on the prototype by its designers, pre-war workers of the Elektrit company that used a similar logo. The production started in a workshop officially producing metal fence nets in Warsaw. After the tests of a prototype series of five pistols, the KeDyw ordered 1000, and later an additional 300. Until July 1944 and the start of Operation Tempest roughly 600 pieces were built in Warsaw. During the Warsaw Uprising an additional 40 were built. It is also possible that the Błyskawica was also produced in small quantities outside of Warsaw.