As part of Yugoslavia, Slovenia came under communist rule for the bulk of the post-World War II period. With the dissolution of the Yugoslav federation in 1991, a multiparty democratic political system emerged.