Military success eventually prompted the Allies to support the Partisans, and the end of the war resulted in the establishment of the Socialist Federal Republic of Yugoslavia, with the constitution of 1946 officially making Bosnia and Herzegovina one of six constituent republics in the new state.
The military victory led to Allied backing for the Partisans, and the cessation of hostilities brought about the formation of the Socialist Federal Republic of Yugoslavia, where the constitution of 1946 included Bosnia and Herzegovina as one of its six constituent republics.