The first democratically elected state prosecutor general was Anton Drobnič, who was appointed on 25 October 1990, and took up the post on 3 December 1990. He led the prosecutor's office for eight years, until 14 November 1998. Zdenka Cerar was elected on 12 March 1999, and was State Prosecutor General until 19 April 2004. Barbara Brezigar was elected as State Prosecutor General on 20 April 2005, took up her post on 4 May 2005. Prof. Zvonko Fišer, PhD, was elected as State Prosecutor General on 4 May 2011, when he also took an oath before the National Assembly of the Republic of Slovenia and took his post.
Until the end of 1994, the field of state prosecution in Slovenia was subject to the regulations of the former Yugoslavia. The State Prosecutor Act (SPA), Judicial Service Act, Criminal Code and Criminal Procedure Act entered into force on 1 January 1995.
The State Prosecutor Act introduced a number of organisational changes. The Public Prosecutor's Office was renamed the State Prosecutor's Office. The State Prosecutor became the office-holder of the function of enforcement. They are equivalent to a judge and their function is permanent.
The next amendment in 2003 abolished the Higher State Prosecutors' Offices in Celje, Koper, Maribor and Ljubljana. External departments of the Supreme State Prosecutor's Office of the Republic of Slovenia were established in Celje, Maribor and Koper. The State Prosecutor's Office of the Republic of Slovenia was renamed the Supreme State Prosecutor's Office of the Republic of Slovenia.
The new State Prosecutor Act (SPA-1) came into use on 6 November 2011. The Act abolished the external departments of the Supreme State Prosecutor's Office of the Republic of Slovenia. Local state prosecutors were introduced, replacing assistants. The Act also emphasises the independence of state prosecutors in carrying out state prosecutors' duties.
In 1996, State Prosecutor General Anton Drobnič founded a group of state prosecutors for the prosecution of organised crime and other complex forms of criminal offences. The group was led by Barbara Brezigar. The amendment to the State Prosecutor Act in 1999 reduced authorisations for the operation of the group, which was then responsible only for prosecuting organised crime. From 1999, the group was led by Jožica Boljte Brus, and from 2004 by Harij Furlan. Another amendment to the State Prosecutor Act in 2006 re-enabled the group to deal with cases involving all forms of complex crime, not only organised crime. The Group was competent for criminal offences in the field of organised classic and economic crime, terrorism, corruptive criminal offences and other criminal offences, the detection and prosecution of which require special organisation and competences. From August 2008, it was led by Blanka Žgajnar.
From 6 November 2011, with the enforcement of SPA-1, the Specialised State Prosecutor's Office of the Republic of Slovenia began operations and became an independent state prosecutor's office. It has jurisdiction to prosecute those criminal offences which are defined in SPA-1. It is led by Harij Furlan, MSc.