Exercising its sovereignty once again on 29 October 1918, the Sabor decided on independence from Austria-Hungary and formation of the State of Slovenes, Croats and Serbs. The council of the newly established state voted to form the Kingdom of Serbs, Croats and Slovenes; however, the Sabor never confirmed that decision. The 1921 constitution defining the new kingdom as a unitary state, and the abolition of historical administrative divisions, effectively ended Croatian autonomy for the time and the Sabor did not convene until the 1940s. The Cvetković–Maček Agreement of August 1939 established the autonomous Province of Croatia, or Banovina of Croatia, in which the Yugoslav government retained control of defence, internal security, foreign affairs, trade, and transport, while other matters were left to the Croatian Sabor and a crown-appointed ban (Viceroy or governor). Before any elections were held, the establishment was made obsolete with the beginning of World War II and the establishment of the Independent State of Croatia which banned all political opposition. In 1942, three sessions of an unelected Sabor were held in the Independent State of Croatia; these were held between 23 February and 28 December 1942, when it was formally dissolved. The assembly had no real power as the state was under the direct rule of (the fascist) Ante Pavelić.