The Socialist Federal Republic of Yugoslavia pursued a socialist economy based on autogestion or worker self-management. Rather than implementing a centrally planned economy, Yugoslavia developed a market socialist system where enterprises and firms were socially owned rather than publicly owned by the state. In these organizations, the management was elected directly by the workers in each firm, and were later organized according to Edvard Kardelj's theory of associated labor.