The area was subsequently annexed by Lithuania. In the Klaipėda Convention, signed by the Council of Ambassadors and Lithuania, the area was granted a separate parliament, two official languages, the capacity to raise its own taxes, charge custom duties, and manage its cultural and religious affairs, and was allowed a separate judicial system, separate citizenship, internal control of agriculture and forestry, as well as a separate social security system. The Council of Ambassadors accepted the resulting arrangement and confirmed the autonomy of the region within the Republic of Lithuania. On 8 May 1924 a further Convention on the Klaipėda region confirmed the annexation, and a resulting autonomy agreement was signed in Paris. The Memel Territory was recognized as an integral part of the Republic of Lithuania also by The Weimar Republic on 29 January 1928, when the two countries signed the Lithuanian-German Border Treaty.