Meijergeer (1819–1880) Crown Prince In 1824 and 1833, Oscar briefly served as Viceroy of Norway. In 1832–1834 he completed the romantic opera Ryno, the errant knight, which had been left unfinished on the death of the young composer Eduard Brendler. In 1839 he wrote a series of articles on popular education, and in 1841 anonymously published Om Straff och straffanstalter, a work advocating prison reforms. Reign In 1838 Charles XIV John began to suspect that his son was plotting with the Liberal politicians to bring about a change of ministry, or even his own abdication. If Oscar did not actively assist the Opposition on this occasion, his disapprobation of his father's despotic behaviour was notorious, though he avoided an actual rupture. Yet his liberalism was of the most cautious and moderate character, as the Opposition—shortly after his accession to the thrones in 1844—discovered to their great chagrin. The new king would not hear of any radical reform of the cumbersome and obsolete 1809 Instrument of Government, which made the king a near-autocrat. However, one of his earliest measures was to establish freedom of the press. He also passed the first law supporting gender equality in Sweden when he in 1845 declared that in the absence of a will specifying otherwise, brothers and sisters should have equal inheritance. Oscar I also formally established equality between his two kingdoms by introducing new flags with the common Union badge of Norway and Sweden, as well as a new coat of arms for the union. In foreign affairs, Oscar I was a friend of the principle of nationality; in 1848 he supported Denmark against the Kingdom of Prussia in the First War of Schleswig by placing Swedish and Norwegian troops in cantonments in Funen and North Schleswig (1849–1850), and was the mediator of the Truce of Malmö (26 August 1848). He was also one of the guarantors of the integrity of Denmark (the London Protocol, 8 May 1852). As early as 1850, Oscar I had conceived the plan of a dynastic union of the three Scandinavian kingdoms, but such difficulties presented themselves that the scheme had to be abandoned. He succeeded, however, in reversing his father's favored-nation policy towards Imperial Russia. His fear lest Russia should demand a stretch of coast along the Varanger Fjord induced him to remain neutral during the Crimean War, and, subsequently, to conclude an alliance with Great Britain and