Agriculture remained the principal sector of economy, but several branches of industry—especially the production of coal, oil, metals, synthetic rubber, explosives and cosmetics—developed during the interwar period. With oil production of 5.8 million tons in 1930, Romania ranked sixth in the world. Two parties, the National Liberal Party and the National Peasants' Party, dominated political life, but the Great Depression in Romania brought about significant changes in the 1930s. The democratic parties were squeezed between conflicts with the fascist and anti-Semitic Iron Guard and the authoritarian tendencies of King Carol II. The King promulgated a new constitution and dissolved the political parties in 1938, replacing the parliamentary system with a royal dictatorship.