In 1939, the Croats received a high degree of autonomy when the Banovina of Croatia was created, which united almost all ethnic Croatian territories within the Kingdom. In the Second World War, the Axis forces created the Independent State of Croatia led by the Ustaše movement which sought to create an ethnically pure Croatian state on the territory corresponding to present-day countries of Croatia and Bosnia and Herzegovina. Post-WWII Yugoslavia became a federation consisting of 6 republics, and Croats became one of two "constituent peoples" of two – Croatia and Bosnia and Herzegovina. Croats in the Serbian autonomous province of Vojvodina are one of six main ethnic groups composing this region.