The Socialist Republic was dissolved in 1990 when it abandoned communist institutions and adopted market ones, as the Republic of Bosnia and Herzegovina which declared independence from Yugoslavia in 1992.