Victoria's father died before she was a year old. Upon the death (1830) of George IV, she was recognized as heir to the British throne, and in 1837, at the age of 18, she succeeded her uncle, William IV, to the throne. With the accession of a woman, the connection between the English and Hanoverian thrones ceased in accordance with the Salic law of Hanover. One of the young queen's advisers was Baron Stockmar, sent by her uncle, King Leopold I of the Belgians.
Her first prime minister, Viscount Melbourne, became her close friend and adviser. In 1839, when Melbourne's Whig cabinet resigned, Victoria refused to dismiss her Whig ladies of the bedchamber, the accepted gesture of confidence in the incoming party. The Tory leader, Sir Robert Peel, declined to form a cabinet, and Melbourne remained in office.
Sections in this article: