After the French troops had been driven out by Russian Cossacks, the new independent state of the Netherlands, a principality, was established by the constitution of 29 March 1814, the Grondwet voor de Vereenigde Nederlanden. William VI of Orange, instated on 2 December 1813 as "Sovereign Prince" by acclamation, and only accepting "under the safeguard of a free constitution, assuring your freedom against possible future abuses", had first appointed a number of men of good standing as electors and these approved the constitution, written by a commission headed by Gijsbert Karel van Hogendorp. On 24 August 1815 William — since 16 March King William I of the Netherlands — having proclaimed himself King of the larger United Netherlands six days earlier, issued the first version of the current constitution, the Grondwet voor het Koningrijk der Nederlanden or Loi fondamentale du Royaume des Pays-Bas, establishing the United Kingdom of the Netherlands, now expanding his realm with the territory of the present state of Belgium, which would again secede from it in 1830. It included a limited unentrenched bill of rights, with freedom of religion, the principle of habeas corpus, the right of petition and freedom of the press as its main points. In the Treaty of London of 1814 the Allies had ordered that the original Dutch state would devise the new constitution. It had been approved by the new States General (consisting of 55 members) of the Northern Netherlands, but rejected by the majority of appointed electors (796 against 527) of the Southern Netherlands. As 126, however, had indicated that they were against because of the (by them still considered too limited) freedom of religion, which was mandatory under the Treaty of Vienna that ordered the union of the Northern and the Southern Netherlands, their votes and those of the men having refused to vote, were added to the minority, and by this infamous "Hollandic Arithmetic" William felt justified to proclaim the new kingdom.