The Socialist Federal Republic of Yugoslavia was the Yugoslav state that existed from the second half of World War II (1945) until it was formally dissolved in 1992 ("de facto" dissolved in 1991 with no leaders representing it) amid the Yugoslav wars. It was a socialist state and a federation made up of Bosnia and Herzegovina, Croatia, Macedonia, Montenegro, Serbia, and Slovenia. In 1992, the two remaining states still committed to a union, Serbia and Montenegro, formed the Federal Republic of Yugoslavia, which had not been recognized as the successor of the SFRY by international leaders.