The Second Department of the Polish General Staff (, abbreviated as Oddział II or colloquially known as ) was the military intelligence, counterintelligence, and cryptanalysis service of the Second Polish Republic between 1918 and 1939, which continued operations under the Polish government-in-exile throughout World War II.

Subordinate directly to the Chief of the General Staff (designated from 1928 as the General Staff of the Polish Armed Forces, Sztab Główny), the Second Department conducted operational intelligence collection against prospective adversaries—primarily Weimar and Nazi Germany, and the Soviet Union—as well as offensive counterintelligence, military deception, and installation security. The department broke Soviet military radio ciphers during the Polish–Soviet War (1919–1920) and achieved the mathematical decryption of the German military Enigma machine in 1932 through its Cipher Bureau, which later provided the basis for the Allied Ultra intelligence program at Bletchley Park.

History and origins

Establishment and the Polish–Soviet War (1918–1921) The origins of Polish military intelligence trace to the establishment of the Regency Council's General Staff on 25 October 1918, which included an Information Section (Sekcja Informacyjna) tasked with intelligence and counterespionage. Following Poland's declaration of independence in November 1918, the service was reorganized under the General Staff of the Polish Army, drawing personnel from the underground Polish Military Organisation (POW). In May 1919, it was officially designated as the Second Department of the General Staff (Oddział II Sztabu Generalnego).

During the Polish–Soviet War (1919–1920), the department developed its signals intelligence (SIGINT) branch. In August 1919, Lieutenant Jan Kowalewski established the radiotelegraphic cipher-breaking section. Kowalewski enlisted mathematicians from the Warsaw School of Mathematics, including Stanisław Leśniewski, Stefan Mazurkiewicz, and Wacław Sierpiński, who reconstructed and deciphered the operational radio codes of the Red Army.

Intercepted Soviet traffic provided Commander-in-Chief Józef Piłsudski and Chief of Staff Tadeusz Rozwadowski with advance knowledge of Soviet operational orders and troop movements, including those of Mikhail Tukhachevsky's Western Front and Semyon Budyonny's 1st Cavalry Army. This intelligence contributed to the planning of the Polish counter-offensive from the Wieprz River during the Battle of Warsaw (1920) and the subsequent Battle of the Niemen River.

Interwar development (1921–1939) Following the Peace of Riga in March 1921, the Second Department was reorganized into a peacetime intelligence apparatus. Throughout the interwar period, the department's operational activities were organized along two primary geographic axes: Vector "East" (Kierunek Wschód): Targeted the Soviet Union, monitoring the Red Army, Soviet industrialization, and conducting strategic and covert operations. Vector "West" (Kierunek Zachód): Targeted Germany, tracking German rearmament, military doctrine, order of battle, and fortifications along Poland's western and northern frontiers.

From 1928, the service was subordinated to the Chief of the General Staff (Sztab Główny) and coordinated with the Ministry of Foreign Affairs, placing intelligence officers under diplomatic and consular cover abroad with the cooperation of consular director Wiktor Tomir Drymmer.

Organizational structure

Central headquarters (Warsaw) The central headquarters was located in the Saxon Palace in Warsaw, with cryptanalytic sections in the adjacent Saxon Garden. By 1939, the department comprised the following divisions:

Command and Administration: Chief of the Second Department, Deputy Chief, Adjutancy, General Administration, and Personnel Bureau. Department IIa (Offensive Intelligence), headed by Major Stefan Mayer: Bureau "East": Intelligence targeting the Soviet Union, the Baltic states, and Romania. Bureau "West": Intelligence targeting Germany, the Free City of Danzig, and Czechoslovakia. Department IIb (Counterintelligence): Sections for General Counterintelligence, Industrial Security, Domestic Ethnic Affairs, and the Central Agent Index. Studies Department: Strategic synthesis and analysis of foreign military structures, orders of battle, economics, and armaments production: Section "Germany", headed by Major Jan Leśniak. Section "Russia". Cipher Bureau: BS-1 (Polish): Communications security and cryptographic keys for the Polish Armed Forces. BS-2 (Radio Intelligence): Radio interception and direction-finding stations across Poland. BS-3 (Russian): Decryption of Soviet military, diplomatic, and NKVD communications. BS-4 (German): Decryption of German communications, including the Enigma machine section. Planning and Special Operations Department: Covert action, irregular warfare planning, and behind-the-lines diversion (associated with the Promethean project), with officers including Edmund Charaszkiewicz and Feliks Ankerstein.

Territorial branch network Field intelligence was conducted through regional stations (Ekspozytury), distributed across border regions and operational commands:

+ Regional Intelligence Stations (Ekspozytury) of the Second Department Station Headquarters Operational Sector / Target Notable Commanders Station No. 1 Wilno Soviet Union (northern sector), Lithuania, Latvia, and Estonia Major Stefan Mayer, Major Edmund Piotrowski Station No. 2 Warsaw Active diversion, covert operations, and the Promethean movement Major Edmund Charaszkiewicz Station No. 3 Poznań (moved to Bydgoszcz in 1930) Germany (northwestern sector, East Prussia, naval and air intelligence, Danzig corridor) Major Marian Steifer (1924–1927), Major Jan Żychoń (1933–1939) Station No. 4 Kraków (moved to Katowice in 1930) Germany (Silesia, Bavaria, Austria after Anschluss) and Czechoslovakia Captain Karol Franciszek Glazur (1923–1925), Major Adam Studencki (1925–1927), Major August Nowosielski (1927–1928), Major Ludwik Lucjan Sadowski (1928–1931), Lieutenant Colonel Karol Piasecki (1931–1935), Major Kazimierz Szpądrowski (1935–1939), Major Stanisław Kuniczak (1939) Station No. 5 Lwów (initially Brześć nad Bugiem) Soviet Union (southern and Ukrainian sectors), Romania, and Hungary Major Bogdan Szeligowski, Major Józef Bińkowski Station No. 6 Łódź (formed in August 1939) Tactical reconnaissance along the central Polish–German border Major Witold Langenfeld Danzig Information Bureau (BIG) Free City of Danzig (1925–1930) German activity in Danzig, East Prussia, and Pomerania Major Karol Dubicz-Penther

Territorial counterintelligence was administered through Independent Information Sections (SRI, from ) established at each Corps District Command. Border surveillance along the eastern frontier was coordinated with the intelligence branch of the Border Protection Corps (KOP).

Major operations and achievements

Breaking the German Enigma cipher

In December 1932, the Second Department achieved the initial mathematical decryption of the German military Enigma machine. In the late 1920s, the German military had adopted a rotor-based cipher machine for wireless communications. While French and British intelligence considered the system resistant to conventional linguistic analysis, the Second Department approached the problem mathematically.

In 1931, Cipher Bureau chiefs Major Gwido Langer and Captain Maksymilian Ciężki established the German cryptanalysis section (BS-4) in Warsaw. They recruited mathematics graduates from Poznań University, including Marian Rejewski, Jerzy Różycki, and Henryk Zygalski. Utilizing permutation theory and intelligence documents obtained by the French from an agent in the German cipher office (Hans-Thilo Schmidt), Rejewski determined the internal wiring of the Enigma rotors in late December 1932.

The team constructed working replicas of the military Enigma machine through the AVA Radio Company in Warsaw, co-founded by cryptanalyst and engineer Antoni Palluth. They designed electro-mechanical decryption devices, including the cryptologic bomb and perforated Zygalski sheets, to recover daily German encryption keys.

On 25–26 July 1939, during a meeting in the Kabaty Woods facility near Pyry south of Warsaw, the Polish General Staff transferred two Enigma replicas, technical blueprints, and decryption methods to British and French intelligence representatives (Alastair Denniston, Dilly Knox, and Gustave Bertrand). This handover formed the basis for the British wartime Ultra cryptanalysis effort centered at Bletchley Park.

Intelligence in Germany: Major Sosnowski and Operation "Wózek"

Between 1926 and 1934, the Second Department maintained a human-intelligence network in Berlin, designated Outpost "In.3", under Cavalry Captain (later Major) Jerzy Sosnowski. Posing as an anti-Bolshevik Polish aristocrat in Berlin social circles, Sosnowski recruited sources with access to military planning, including Benita von Falkenhayn and Renate von Natzmer, an employee in the Reichswehr Ministry's planning section. The network procured defense documents, including mobilization schedules and the operational war game plan against Poland, known as Organisation-Kriegspiel. Although the network was dismantled by the Gestapo in February 1934, it provided the Polish General Staff with early documentation of German rearmament.

In northwestern Poland, Station No. 3 in Bydgoszcz, commanded by Major Jan Żychoń, carried out counterintelligence and tactical reconnaissance. Its main operation, code-named Operation "Wózek" (Operation "Wagon"), exploited German transit rail traffic across the Polish Corridor connecting mainland Germany with East Prussia. Station agents detached German postal cars during night transit, photographed military documents in trackside facilities, and reattached the cars with duplicate seals before they reached the border.

Promethean movement and Eastern operations

In the Soviet theater, the Second Department served as the operational coordinator of the Promethean program, conceptualized by Józef Piłsudski to counter Soviet influence by supporting national movements among non-Russian peoples of the USSR. Directed by Major Edmund Charaszkiewicz through Station No. 2 in Warsaw, the program supported political and paramilitary committees representing Tatars, Chechens, Circassians, Georgians, Azerbaijanis, Armenians, and Ukrainians.

The department facilitated passports, communications, and intelligence sharing with exile committees in Paris and Istanbul, while conducting paramilitary training. These operations provided intelligence regarding Soviet military dispositions in the Ukrainian and Belarusian Military Districts.

September 1939 campaign and evacuation In the months leading to the German invasion of Poland on 1 September 1939, the Second Department monitored the deployment and concentration of the Wehrmacht. Frontier stations—including Station No. 4 in Katowice and Station No. 3 in Bydgoszcz—tracked German motorized and armored troop movements in Silesia, Pomerania, and Slovakia.

Following the outbreak of war, the department headquarters evacuated eastward toward Brześć nad Bugiem and the Romanian border. Cryptanalysts of the Cipher Bureau, including Langer, Ciężki, Rejewski, Różycki, and Zygalski, crossed into neutral Romania in mid-September, avoiding capture, and were subsequently transferred to France to continue cryptanalytic work.

Fort Legionów records discovery