According to the Treaty of Versailles of 1919, the Klaipėda Region was detached from East Prussia, German Empire, and placed under temporary administration of the League of Nations. After the Klaipėda Revolt in January 1923, the region was transferred to Lithuania on condition that it would abide by the Klaipėda Convention, signed in May 1924 and fully effective in August 1925. The Convention included the Statute of the Klaipėda Region, which described region's legislative, judicial, administrative, and financial autonomy. The Convention also established the framework of the autonomous institutions – the local parliament and the Klaipėda Directorate. The parliament was to be democratically elected for three-year terms by the local inhabitants in the proportion of one representative per 5,000 residents. The parliament confirmed and dismissed the Directorate, appointed by the Governor. The Directorate and the Lithuanian-appointed Governor could dismiss the parliament; in such a case, the new elections had to be called within six weeks. The Governor could veto laws passed by the parliament, but only if they violated the Convention, Constitution of Lithuania, or other international agreements. Of the 165 laws passed between 1925 and 1938, 62 were vetoed. The parliament was in charge of region's education, religious affairs, public health and welfare, local infrastructure, civil, criminal, and economic legislature, finances, court organization, etc. In all elections 29 representatives were elected, and pro-German parties won a clear supermajority. The pro-German parliament often clashed with the more pro-Lithuanian Directorate. The first three parliaments were dismissed by the Directorate and the Governor. In the 1932 case, the Permanent Court of International Justice ruled that the Lithuanians erred in dismissing the third parliament. After the crisis surrounding the trial of the Nazi activists, the 1935 election was postponed by the Lithuanians beyond the six-week period allowed by the Convention in hopes to build a pro-Lithuanian momentum. The election law was also changed – the voters now had to submit 29 separate ballots for each individual they preferred, rather than a single ballot for a party. The German parties submitted a single unified list, while Lithuanian parties presented six.