At the end of World War II in 1945, the communist-dominated Partisans prevailed and the Krajina region became part of the People's Republic of Croatia until 7 April 1963, when the federal republic changed its name to the Socialist Republic of Croatia.