The State Attorney's Office (hereinafter: Office) is the judicial authority that represents the Republic of Slovenia and other entities (the Government, its bodies and administrative organs with legal personality) before courts of justice and administrative authorities. The Office also represents the Republic of Slovenia before foreign and international courts, such as the European Court of Human Rights and the Court of Justice of the European Union. The Office additionally performs tasks defined in other acts. 
 
Within the national judicial system the Office strives for the realisation of goals in the field of justice, i.e., the effective, peaceful and civilised settlement of disputes in society. The operation of the State Attorney’s Office is governed by the State Attorney Act (Zakon o državnem odvetništvu).
 
The State Attorney’s Office performs tasks within its competence at the head office in Ljubljana and at branch offices of the State Attorney’s Office in Celje, Koper, Kranj, Maribor, Murska Sobota, Nova Gorica, Novo mesto and Ptuj. 
 
The State Attorney General is appointed by the National Assembly on the proposal of the Government acting on a recommendation from the Ministry of Justice. The State Attorney General is appointed for a period of six years and may be reappointed.