After World War I, Czechoslovakia established itself and as a republic and democracy with the establishment of the Constitution of 1920. The constitution was adopted by the National Assembly on 29 February 1920 and replaced the provisional constitution adopted on 13 November 1918. The constitution created a parliament but also a president and cabinet, sharing powers of executive branch. Beneath them was a judiciary that was advanced with many levels of courts delegated for various types of cases.