William IV (William Henry; 21 August 1765 – 20 June 1837) was King of the United Kingdom of Great Britain and Ireland and of Hanover from 26 June 1830 until his death. William, the third son of George III of the United Kingdom and younger brother and successor to George IV was the last person to rule both the United Kingdom and Hanover. His niece, Victoria, only ruled the United Kingdom and not Hanover.