In 1934, following years of increasingly violent political strife and gradual erosion of the rule of law, the ruling Christian Social Party, which by then had turned to full-scale Austrofascism, formally replaced the constitution by a new basic law defining Austria as an authoritarian corporate state. The Austrofascist constitution was in force until Austria was annexed by Nazi Germany in 1938, ceasing to exist as a sovereign state. The Constitution of Austria was eventually reinstated on May 1, 1945, Austria having reestablished itself as an independent republic shortly before Nazi Germany's definitive collapse. The modifications enacted in 1929 were not then rescinded, and essentially remain in effect until this day, although the constitution has been heavily modified and amended since then.