On 8 June 1849, the young emperor Franz Josef I confirmed the plan for the introduction of
gendarmerie in the entire Austrian empire. There were many reasons for this decision, for example
good experience with this security force in other states, including Lombardy and South Tyrol,
unsuitability of the army to maintain internal security in the state that was developing the rule of law,
the need of the state officialdom to ensure enforcement of regulations, bad experience with national
guards, introduction of municipality self-government bodies that took on a part of the security tasks,
etc. Atfirst there were 16 and later 19 gendarmerie regiments. One of them had its seat in Ljubljana
at first, and later in Trieste. In 1866, there was another reorganisation of the gendarmerie and
Ljubljana became the seat of the 13th provincial gendarmerie headquarters, which coordinated the
gendarmerie units in Carniola, Styria, Carinthia and the Littoral, i.e. on the whole territory of
Austria, inhabited by Slovenes, except from Prekmurje. At that time there were 63 gendarmerie posts
with 291 men in the territory of the Republic of Slovenia, with 2756 inhabitants per gendarme and
13.152 inhabitants per gendarmerie post.