Dundas was appointed Keeper of the Signet for Scotland and elected MP for Midlothian (Edinburghshire) in 1801. He remained silent in parliament until his speeches of 1805 and 1806 in defence of his father, who was then being impeached. His first real test came in negotiating to be left in charge of Scotland by a hostile 'ministry of all the talents'. He got nowhere, but won the respect of his own side, and the problem vanished with the ministry's collapse. He was rewarded with the presidency of the Board of Control for India by the Duke of Portland in 1807.
Dundas's main task was to frustrate any possibility that Napoleon might exploit his alliance with Russia to make some attempt on British India. He sent a mission to the shah of Persia, at whose court French agents were present. He formed alliances with the princes of Lahore and Kabul. He ordered the occupation of the Portuguese factories in India and China, of the Dutch colony of Java, and of the French stations on Mauritius and Réunion. He had also to deal with a sharp deterioration, through loss of trade during the war, in the finances of the East India Company. A series of reports on its development since the East India Company Act 1784 (24 Geo. 3. Sess. 2. c. 25), written by a select committee which he chaired, concluded that it should give up its inefficient trading privileges, at least in the subcontinent. Dundas drafted the legislation which ended them at the renewal of the company's charter in 1813.
Dundas's Indian administration was interrupted for six months in 1809 when he served as Chief Secretary for Ireland. Spencer Perceval, succeeding Portland, then wanted to promote him to the cabinet as secretary for war, but this did not happen due to the wishes of his father. Dundas returned to the Board of Control, still without a place in cabinet. He succeeded as Viscount Melville on 27 May 1811. The next year, under Prime Minister Lord Liverpool, he was promoted First Lord of the Admiralty.
Admiralty
While the Napoleonic wars went on, his job was to maintain the British maritime supremacy established at the battle of Trafalgar. In a state paper of February 1813 he pointed out that France, with the shipbuilding resources of the Netherlands and Italy at her disposal, would be able to construct a fleet to match Britain's if the struggle continued much longer. The point was underlined by complaints from the Duke of Wellington in Spain of inadequate protection for the convoys supplying him, especially after the outbreak of hostilities with the United States in 1812 unleashed hordes of American privateers on the Atlantic.
Drastic cuts followed the eventual peace, but Britain, now the only colonial power of any importance, found her maritime commitments increased. Melville did not think the fleet could be reduced much below 100 ships of the line. The cabinet set a limit of forty-four. The following years saw a constant struggle by Melville to find every possible economy while he avoided meeting a target he regarded as unreal. He quietly got his way, not least by improving the design and durability of ships, research on which benefited from his close personal interest. Yet he resisted the introduction of steamers, since an infant technology seemed bound to prove expensive and unreliable; moreover, if navies were to be rebuilt all round as steam driven, Britain would place herself on the same level as her rivals. By the late 1820s he was able to authorise the construction of new and larger classes of ship, matching those in France and the United States. Even out of tight budgets he never failed to squeeze something for another scientific interest, in exploration (where places are named after him, see below).
Scotland
Appointed a governor of the Bank of Scotland, he was elected chancellor of the University of St Andrews in 1814, and made a Knight of the Thistle in 1821. The crisis of the system came in 1827 on the resignation of Liverpool and the succession of George Canning, who was set on Catholic emancipation. Melville said that, while he personally supported it, he could not approve of a policy which would split the outgoing cabinet. The Whigs in Canning's coalition now persuaded him that a Scottish manager was unnecessary; the home secretary could do all the work with a native adviser or two.
First Lord of the Admiralty
The old governing interest in Scotland began to break up, a process which did not halt when Melville returned under Wellington and Sir Robert Peel as President of the Board of Control in 1828, then again at the Admiralty as First Lord of the Admiralty. The Reform Act would anyway end the arrangements under which the Dundases had ruled Scotland. Melville resigned in 1830, never to hold office again. But he made himself useful in good works, notably chairmanship of the royal commission which in 1845 proposed reform of the Scots poor law.
He died on 10 June 1851 at Melville Castle, and was buried in the family vault built for his father, in the Old Kirk, Lasswade, Edinburghshire, on 17 June.
Coat of arms of Robert Dundas, 2nd Viscount Melville
Crest
A lion's head affronteé Gules struggling through an oak bush all Proper.
Escutcheon
Argent a lion rampant Gules within a bordure Azure charged with three boars' heads couped Or two in chief and one in base.
Supporters
Dexter a leopard reguardant, sinister a stag, both Proper.[3]
Motto
Essayez (top); Quod Potui Perfecti (bottom)
Place names
His name is perpetuated by that of Melville Sound and Melville Island, Canada because of his interest in Arctic exploration. Melville Island in the Northern Territory of Australia was also named for him, by explorer Phillip Parker King. Melville Bay in Greenland was named in his honour as well. He also gives his name to Melville Street in the New Town area of Edinburgh, Scotland, and a large statue of him by Sir John Steell stands in the central square of this street. The locality of Melville in Perth, Western Australia is also named after him as well as Melville Street in Hobart, Tasmania.
References
^Johanna Oehler: »Abroad at Göttingen« Britische Studenten als Akteure des Kultur- Wissenstransfers 1735–1806, Wallstein, Göttingen 2016, p. 167–198 (German)