Through the Law on Police, which took effect on 18 July, 1998, the police service became a body within the Ministry of Interior of the Republic of Slovenia. Pursuant to the law, the police performs its tasks at three levels: the state, the regional and the local levels. Organisationally, it is composed of General Police Directorate, Police Directorates and police stations. The police headquarters are in Ljubljana.