 In the period 1861–1918 there were seventeen elections in the Kingdom of Croatia-Slavonia and ten in the Kingdom of Dalmatia.After the establishment of the Kingdom of Serbs, Croats and Slovenes, the HSS established itself as the most popular Croatian political party and was very popular despite efforts to ban it.The 1921 constitution defined the kingdom as a unitary state and abolished the historical administrative divisions, which effectively ended Croatian autonomy; the constitution was opposed by HSS.