 Law enforcement agencies are organised under the authority of the Ministry of the Interior which consist primarily of the national police force.Croatia's security service is the Security and Intelligence Agency (SOA).Croatia was first subdivided into counties in the Middle Ages.