Opatija, and the interior areas of Istria, centered around Pazin. It also had nominal control over the port of Rijeka, which however de facto remained an autonomous city; in 1717 it was officially placed under direct imperial rule and in 1776 it was transferred to Hungary. In the 19th century, these areas (with the exception of Idrija) were incorporated in the Austrian Littoral, and Carniola thus became a landlocked region once again. With the Treaty of Schönbrunn in 1809, Napoleon formed the short-lived Illyrian Provinces from the annexed territories in Carniola, Carinthia, Croatia, Gorizia and Gradisca, and Trieste. The Final Act of the 1815 Congress of Vienna restored the Illyrian Provinces to the Austrian Empire. Carniola then formed the central part of the territory of the Austrian Kingdom of Illyria, whose capital was also Ljubljana, including the Carniolan and Carinthian duchies as well as the Austrian Littoral with Gorizia and Gradisca, the Margraviate of Istria and the Imperial Free City of Trieste. After the disestablishment of the Illyrian Kingdom in 1849, the Duchy of Carniola was constituted by rescript of 20 December 1860, and by imperial patent of 26 February 1861 (February Patent), modified by legislation of 21 December 1867, granting power to the Carniolan Landtag (or Carniolan Diet - estates' assembly) to enact all laws not reserved to the Imperial Council in Vienna, at which it was represented by eleven delegates, of whom two elected by the landowners, three by the cities, towns, commercial and industrial boards, five by the village communes, and one by a fifth curia by secret ballot, every duly registered male twenty-four years of age had the right to vote. The home legislature consisted of a single chamber of thirty-seven members, among whom the prince-bishop sat ex-officio. The emperor convened the legislature, and it was presided over by the k. k. Landeshauptmann (president of the Carniolan Diet – Landtag and its executive board – Landesausschuss). The landed interests elected ten members, the cities and towns eight, the commercial and industrial boards two, the village communes sixteen. The business of the chamber was restricted to legislating on agriculture, public and charitable institutions, administration of communes, church and school affairs, the transportation and housing of soldiers in war and during manoeuvres, and other local matters. The land budget of 1901 amounted to 3,573,280 crowns ($714,656). The Austrian Imperial-Royal government was represented by the Imperial-Royal president (k. k.