In August 1939, Maček and Yugoslav Prime Minister Dragiša Cvetković reached the deal about the constitutional reconstruction of Yugoslavia and restoration of Croatian statehood in the form of Banovina of Croatia—an autonomous entity which, together with Croatia proper, included large sections of today's Bosnia-Herzegovina and some sections of today's Vojvodina, which contained an ethnic Croat majority. Šubašić was appointed as the first ban, or titular head of this entity, in charge of its government.