The Kingdom of Romania, under the rule of King Carol II, was initially a neutral country in World War II. However, Fascist political forces, especially the Iron Guard, rose in popularity and power, urging an alliance with Nazi Germany and its allies. As the military fortunes of Romania's two main guarantors of territorial integrity—France and Britain—crumbled in the Fall of France (May to June, 1940), the government of Romania turned to Germany in hopes of a similar guarantee, unaware that Germany, in the supplementary protocol to the 1939 Molotov–Ribbentrop Pact, had already granted its blessing to Soviet claims on Romanian territory.
In the summer of 1940, as had been agreed with Germany, the USSR occupied Bessarabia and Northern Bukovina; in August and September 1940, two territorial disputes, arbitrated by Germany and Italy, were decided against Romania: Romania lost Northern Transylvania to Hungary and had to cede Southern Dobruja to Bulgaria. The popularity of the Romanian government plummeted, further reinforcing the fascist and military factions, who eventually staged a coup in September 1940 that turned the country into a dictatorship under Mare?al Ion Antonescu. The new regime officially joined the Axis powers on 23 November 1940. As a member of the Axis, Romania joined the invasion of the Soviet Union (Operation Barbarossa) on 22 June 1941, providing equipment and oil to Nazi Germany and committing more troops to the Eastern Front than all other allies of Germany combined. Romanian forces played a large role during fighting in Ukraine, Bessarabia, and in the Battle of Stalingrad. Romanian troops were responsible for the persecution and massacre of 260,000 Jews in Romanian-controlled territories, though half of the Jews living in Romania itself survived the war. Romania controlled the third-largest Axis army in Europe and the fourth largest Axis army in the world, only behind the three principal Axis powers of Germany, Japan, and Italy. Following the September 1943 Armistice of Cassibile between the Allies and Italy, Romania became the second Axis Power in Europe.
The Allies bombed Romania from 1943 onwards, and advancing Soviet armies invaded the country in 1944. Popular support for Romania's participation in the war faltered, and the German-Romanian fronts collapsed under the Soviet onslaught. King Michael of Romania led a coup d'état that deposed the Antonescu regime (August 1944) and put Romania on the side of the Allies for the remainder of the war (Antonescu was executed in June 1946). Despite this late association with the winning side, Greater Romania was not restored. However, the country was able to regain Northern Transylvania from Hungary.