Following the end of the government of Fan Noli, the parliament adopted a new constitution and proclaimed the country as a parliamentary republic in which King Zog I of Albania (Ahmet Muhtar Zogu) served as the head of state for a seven-year term. Immediately after, Tirana was endorsed officially as the country's permanent capital.