it was formed during world war ii and became a socialist republic after the war. it had four full official names during its 48-year existence. by territory and population, it was the second largest republic in yugoslavia, after the socialist republic of serbia.