The Constitution of the Slovak Republic was ratified 1 September 1992, and became effective 1 January 1993. It was amended in September 1998 to allow direct election of the president and again in February 2001 due to EU admission requirements. The civil law system is based on Austro-Hungarian codes. The legal code was modified to comply with the obligations of Organization on Security and Cooperation in Europe (OSCE) and to expunge the Marxist–Leninist legal theory. Slovakia accepts the compulsory International Court of Justice jurisdiction with reservations.