1848, Ernest visited his brother in the midst of political unrest in Germany. Upon his return, he also discovered unrest in Coburg. One of the many concerns related to finances. Although Ernest had a large inheritance, he also had frequent debts. There were increasing calls to nationalize most of his property. Indeed, Albert had to intervene at one point and spare his brother the embarrassment of losing one of his Coburg properties. During the 1848 turmoil in Germany, Albert had been constructing his own liberal reform plan, under which a single monarch, chancellor, and parliament would unite the German states; in addition, each state would retain its own current ruling dynasty. As this plan pertained to his brother, Ernest was given a copy in the hope that he would develop his own liberal constitution. Ernest subsequently made a few concessions, but his position remained sound, not counting the increasing problem of his debts. A constitution was drafted and promulgated in 1849 in Gotha, though one had existed in Coburg since 1821. In 1852, both constitutions were converged into one, which converted the personal union of the two duchies into a real union; the duchies were now inseparable, with a common set of institutions. During the political turmoil, timely concessions and Ernest's popular habit of mingling with "the people in their pleasures" were instrumental in keeping him from losing his throne. Furthermore, various contemporary sources state that Ernest was an able, just and very popular ruler, which may have also helped keep him in power. Schleswig-Holstein wars From 1848 to 1864, Denmark and the German Confederation fought over control of the two duchies of Schleswig and Holstein. Historically, the duchies had been ruled by Denmark since medieval times, but there remained a large German majority. This majority was sparked to rebellion after Frederick VII of Denmark announced on 27 March 1848 the duchies would become an integral part of Denmark under his new liberal constitution. Prussia soon became involved, supporting the uprising and beginning the First Schleswig War. Ernest sent 8,000 men initially, adding to the army sent by the German Confederation. He also desired to be given a military job during the war, but was refused, as it was "extremely difficult to offer me a position in the army of Schleswig-Holstein corresponding to my rank", according to his memoirs. He agreed to a smaller command, coming to lead a Thuringian