Test 2

===Prime ministers===
List of prime ministers of the United Kingdom since 1721
Portrait	Portrait	Prime minister 	Term of office	Term of office	Term of office	Mandate	Ministerial offices held as prime minister	Party 	Government 	MonarchReign
Portrait	Portrait	Prime minister 	start 	end 	duration 	Mandate	Ministerial offices held as prime minister	Party 	Government 	MonarchReign
 	 	Robert Walpole 	1721 	1742 	 	 	 	Whig 	Walpole–Townshend 	George I
 	 	Robert Walpole 	1721 	1742 	 	 	 	Whig 	Walpole–Townshend 	George II
 	 	Robert Walpole 	1721 	1742 	 	 	 	Whig 	Walpole 	George II
 	 	Robert Walpole 	1721 	1742 	 	 	 	Whig 	Walpole 	George II
 	 	Spencer Compton 	1742 	1743 	 	— 	 	Whig 	Carteret 	George II
 	 	Henry Pelham 	1743 	1754 	 	— 	 	Whig 	Broad Bottom I 	George II
 	 	Henry Pelham 	1743 	1754 	 	 	 	Whig 	Broad Bottom II 	George II
 	 	Thomas Pelham-Holles 	1754 	1756 	 	 	 	Whig 	Newcastle I 	George II
 	 	William Cavendish 	1756 	1757 	 	— 	 	Whig 	Pitt–Devonshire 	George II
 	 	William Cavendish 	1756 	1757 	 	— 	 	Whig 	1757 Caretaker 	George II
 	 	Thomas Pelham-Holles 	1757 	1762 	 	 	 	Whig 	Pitt–Newcastle 	George II
 	 	Thomas Pelham-Holles 	1757 	1762 	 	 	 	Whig 	Bute–Newcastle 	George III
 	 	John Stuart 	1762 	1763 	 	— 	 	Tory 	Bute 	George III
 	 	George Grenville 	1763 	1765 	 	— 	 	Whig 	Grenville 	George III
 	 	Charles Watson-Wentworth 	1765 	1766 	 	— 	 	Whig 	Rockingham I 	George III
 	 	William Pitt the Elder 	1766 	1768 	 	 	 	Whig 	Chatham 	George III
 	 	Augustus FitzRoy 	1768 	1770 	 	— 	 	Whig 	Grafton 	George III
 	 	Frederick North 	1770 	1782 	 	 	 	Tory 	North 	George III
 	 	Frederick North 	1770 	1782 	 	 	 	Tory 	North 	George III
 	 	Charles Watson-Wentworth 	1782 	1782 	 	— 	 	Whig 	Rockingham II 	George III
 	 	William Petty 	1782 	1783 	 	— 	 	Whig 	Shelburne 	George III
 	 	William Cavendish-Bentinck	1783 	1783 	 	— 	 	Whig 	Fox–North 	George III
 	 	William Pitt the Younger 	1783 	1801 	 	 	 	Tory 	Pitt I 	George III
 	 	William Pitt the Younger 	1783 	1801 	 	 	 	Tory 	Pitt I 	George III
 	 	William Pitt the Younger 	1783 	1801 	 	 	 	Tory 	Pitt I 	George III
 	 	Henry Addington 	1801 	1804 	 	 	 	Tory 	Addington 	George III
 	 	Henry Addington 	1801 	1804 	 	 	 	Tory 	Addington 	George III
 	 	William Pitt the Younger 	1804 	1806 	 	— 	 	Tory 	Pitt II 	George III
 	 	William Grenville 	1806 	1807 	 	 	 	Whig 	All the Talents 	George III
 	 	William Cavendish-Bentinck	1807 	1809 	 	 	 	Tory 	Portland II 	George III
 	 	Spencer Perceval 	1809 	1812 	 	— 	 	Tory 	Perceval 	George III
 	 	Robert Jenkinson 	1812 	1827 	 	 	 	Tory 	Liverpool 	George III
 	 	Robert Jenkinson 	1812 	1827 	 	 	 	Tory 	Liverpool 	George IV
 	 	Robert Jenkinson 	1812 	1827 	 	 	 	Tory 	Liverpool 	George IV
 	 	Robert Jenkinson 	1812 	1827 	 	 	 	Tory 	Liverpool 	George IV
 	 	George Canning 	1827 	1827 	 	— 	 	Tory 	Canning 	George IV
 	 	Frederick John Robinson 	1827 	1828 	 	— 	 	Tory 	Goderich 	George IV
 	 	Arthur Wellesley 	1828 	1830 	 	— 	 	Tory 	Wellington–Peel 	George IV
 	 	Arthur Wellesley 	1828 	1830 	 	() 	 	Tory 	Wellington–Peel 	William IV
 	 	Charles Grey 	1830 	1834 	 	 	 	Whig 	Grey 	William IV
 	 	Charles Grey 	1830 	1834 	 	 	 	Whig 	Grey 	William IV
 	 	William Lamb 	1834 	1834 	 	— 	 	Whig 	Melbourne I 	William IV
 	 	Arthur Wellesley 	1834 	1834 	 	(—) 	 	Tory 	Wellington Caretaker	William IV
 	 	Robert Peel 	1834 	1835 	 	(—) 	 	Conservative 	Peel I 	William IV
 	 	William Lamb 	1835 	1841 	 	 	 	Whig 	Melbourne II 	William IV
 	 	William Lamb 	1835 	1841 	 	 	 	Whig 	Melbourne II 	Victoria
 	 	Robert Peel 	1841 	1846 	 	 	 	Conservative 	Peel II 	Victoria
 	 	Lord John Russell 	1846 	1852 	 	() 	 	Whig 	Russell I 	Victoria
 	 	Edward Smith-Stanley 	1852 	1852 	 	 	 	Conservative 	Who? Who? 	Victoria
 	 	George Hamilton-Gordon 	1852 	1855 	 	(—) 	 	Peelite 	Aberdeen 	Victoria
 	 	Henry John Temple 	1855 	1858 	 	 	 	Whig 	Palmerston I 	Victoria
 	 	Edward Smith-Stanley 	1858 	1859 	 	(—) 	 	Conservative 	Derby–Disraeli II 	Victoria
 	 	Henry John Temple 	1859 	1865 	 	 	 	Liberal 	Palmerston II 	Victoria
 	 	Henry John Temple 	1859 	1865 	 	 	 	Liberal 	Palmerston II 	Victoria
 	 	John Russell 	1865 	1866 	 	— 	 	Liberal 	Russell II 	Victoria
 	 	Edward Smith-Stanley 	1866 	1868 	 	(—) 	 	Conservative 	Derby–Disraeli III 	Victoria
 	 	Benjamin Disraeli 	1868 	1868 	 	(—) 	 	Conservative 	Derby–Disraeli III 	Victoria
 	 	William Ewart Gladstone 	1868 	1874 	 	 	 	Liberal 	Gladstone I 	Victoria
 	 	Benjamin Disraeli 	1874 	1880 	 	 	 	Conservative 	Disraeli II 	Victoria
 	 	William Ewart Gladstone 	1880 	1885 	 	 	 	Liberal 	Gladstone II 	Victoria
 	 	Robert Gascoyne-Cecil 	1885 	1886 	 	(—) 	 	Conservative 	Salisbury I 	Victoria
 	 	William Ewart Gladstone 	1886 	1886 	 	() 	 	Liberal 	Gladstone III 	Victoria
 	 	Robert Gascoyne-Cecil 	1886 	1892 	 	() 	 	Conservative 	Salisbury II 	Victoria
 	 	William Ewart Gladstone 	1892 	1894 	 	() 	 	Liberal 	Gladstone IV 	Victoria
 	 	Archibald Primrose 	1894 	1895 	 	(—) 	 	Liberal 	Rosebery 	Victoria
 	 	Robert Gascoyne-Cecil 	1895 	1902 	 	 	 	Conservative 	Salisbury III 	Victoria
 	 	Robert Gascoyne-Cecil 	1895 	1902 	 	 	 	Conservative 	Salisbury IV 	Victoria
 	 	Robert Gascoyne-Cecil 	1895 	1902 	 	 	 	Conservative 	Salisbury IV 	Edward VII
 	 	Arthur Balfour 	1902 	1905 	 	— 	 	Conservative 	Balfour 	Edward VII
 	 	Henry Campbell-Bannerman 	1905 	1908 	 	 	 	Liberal 	Campbell-Bannerman 	Edward VII
 	 	H. H. Asquith 	1908 	1916 	 	— 	 	Liberal 	Asquith I 	Edward VII
 	 	H. H. Asquith 	1908 	1916 	 	() 	 	Liberal 	Asquith II 	George V
 	 	H. H. Asquith 	1908 	1916 	 	() 	 	Liberal 	Asquith III 	George V
 	 	H. H. Asquith 	1908 	1916 	 	(—) 	 	Liberal 	Asquith Coalition 	George V
 	 	David Lloyd George 	1916 	1922 	 	(—) 	 	Liberal 	Lloyd George War 	George V
 	 	David Lloyd George 	1916 	1922 	 	 	 	Liberal 	Lloyd George II 	George V
 	 	Bonar Law 	1922 	1923 	 	 	 	Conservative 	Law 	George V
 	 	Stanley Baldwin 	1923 	1924 	 	— 	 	Conservative 	Baldwin I 	George V
 	 	Ramsay MacDonald 	1924 	1924 	 	() 	 	Labour 	MacDonald I 	George V
 	 	Stanley Baldwin 	1924 	1929 	 	 	 	Conservative 	Baldwin II 	George V
 	 	Ramsay MacDonald 	1929 	1935 	 	() 	 	Labour 	MacDonald II 	George V
 	 	Ramsay MacDonald 	1929 	1935 	 	(—) 	 	National Labour	National I 	George V
 	 	Ramsay MacDonald 	1929 	1935 	 	 	 	National Labour	National II 	George V
 	 	Stanley Baldwin 	1935 	1937 	 	 	 	Conservative 	National III 	George V
 	 	Stanley Baldwin 	1935 	1937 	 	 	 	Conservative 	National III 	Edward VIII
 	 	Stanley Baldwin 	1935 	1937 	 	 	 	Conservative 	National III 	George VI
 	 	Neville Chamberlain 	1937 	1940 	 	— 	 	Conservative 	National IV 	George VI
 	 	Neville Chamberlain 	1937 	1940 	 	— 	 	Conservative 	Chamberlain War 	George VI
 	 	Winston Churchill 	1940 	1945 	 	— 	 	Conservative 	Churchill War 	George VI
 	 	Winston Churchill 	1940 	1945 	 	— 	 	Conservative 	Churchill Caretaker 	George VI
 	 	Clement Attlee 	1945 	1951 	 	 	 	Labour 	Attlee I 	George VI
 	 	Clement Attlee 	1945 	1951 	 	 	 	Labour 	Attlee II 	George VI
 	 	Winston Churchill 	1951 	1955 	 	 	 	Conservative 	Churchill III 	George VI
 	 	Winston Churchill 	1951 	1955 	 	 	 	Conservative 	Churchill III 	Elizabeth II
 	 	Anthony Eden 	1955 	1957 	 	 	 	Conservative 	Eden 	Elizabeth II
 	 	Harold Macmillan 	1957 	1963 	 	— 	 	Conservative 	Macmillan I 	Elizabeth II
 	 	Harold Macmillan 	1957 	1963 	 	 	 	Conservative 	Macmillan II 	Elizabeth II
 	 	Alec Douglas-Home 	1963 	1964 	 	— 	 	Conservative 	Douglas-Home 	Elizabeth II
 	 	Harold Wilson 	1964 	1970 	 	 	 	Labour 	Wilson I 	Elizabeth II
 	 	Harold Wilson 	1964 	1970 	 	 	 	Labour 	Wilson II 	Elizabeth II
 	 	Edward Heath 	1970 	1974 	 	 	 	Conservative 	Heath 	Elizabeth II
 	 	Harold Wilson 	1974 	1976 	 	) 	 	Labour 	Wilson III 	Elizabeth II
 	 	Harold Wilson 	1974 	1976 	 	 	 	Labour 	Wilson IV 	Elizabeth II
 	 	James Callaghan 	1976 	1979 	 	— 	 	Labour 	Callaghan 	Elizabeth II
 	 	Margaret Thatcher 	1979 	1990 	 	 	 	Conservative 	Thatcher I 	Elizabeth II
 	 	Margaret Thatcher 	1979 	1990 	 	 	 	Conservative 	Thatcher II 	Elizabeth II
 	 	Margaret Thatcher 	1979 	1990 	 	 	 	Conservative 	Thatcher III 	Elizabeth II
 	 	John Major 	1990 	1997 	 	— 	 	Conservative 	Major I 	Elizabeth II
 	 	John Major 	1990 	1997 	 	 	 	Conservative 	Major II 	Elizabeth II
 	 	Tony Blair 	1997 	2007 	 	 	 	Labour 	Blair I 	Elizabeth II
 	 	Tony Blair 	1997 	2007 	 	 	 	Labour 	Blair II 	Elizabeth II
 	 	Tony Blair 	1997 	2007 	 	 	 	Labour 	Blair III 	Elizabeth II
 	 	Gordon Brown 	2007 	2010 	 	— 	 	Labour 	Brown 	Elizabeth II
 	 	David Cameron 	2010 	2016 	 	() 	 	Conservative 	Cameron–Clegg 	Elizabeth II
 	 	David Cameron 	2010 	2016 	 	 	 	Conservative 	Cameron II 	Elizabeth II
 	 	Theresa May 	2016 	2019 	 	— 	 	Conservative 	May I 	Elizabeth II
 	 	Theresa May 	2016 	2019 	 	() 	 	Conservative 	May II 	Elizabeth II
 	 	Boris Johnson 	2019 	2022 	 	(—) 	 	Conservative 	Johnson I 	Elizabeth II
 	 	Boris Johnson 	2019 	2022 	 	 	 	Conservative 	Johnson II 	Elizabeth II
 	 	Liz Truss 	2022 	2022 	 	— 	 	Conservative 	Truss 	Elizabeth II
 	 	Liz Truss 	2022 	2022 	 	— 	 	Conservative 	Truss 	Charles III
 	 	Rishi Sunak 	2022 	Incumbent 	 	— 	 	Conservative 	Sunak 	Charles III
== Disputed prime ministers ==
Due to the gradual evolution of the post of prime minister, the title is applied to early prime ministers only retrospectively; this has sometimes given rise to academic dispute. William Pulteney, Lord Bath and James Waldegrave, Lord Waldegrave are sometimes listed as prime ministers. Bath was invited to form a ministry by when Henry Pelham resigned in 1746, as was Waldegrave in 1757 after the dismissal of William Pitt the Elder, who dominated the affairs of government during the Seven Years' War. Neither was able to command sufficient parliamentary support to form a government; Bath stepped down after two days and Waldegrave after four. Modern academic consensus does not consider either man to have held office as prime minister; they are therefore listed separately.
* 
List of disputed prime ministers of the United Kingdom since 1721
Portrait	Portrait 	Prime minister 	Term of office	Term of office	Term of office	Mandate	Ministerial offices held as prime minister	Party	Government 	MonarchReign
Portrait	Portrait 	Prime minister 	start 	end 	duration 	Mandate	Ministerial offices held as prime minister	Party	Government 	MonarchReign
 	 	William Pulteney	1746 	1746 	 	– 	 	Whig 	Short Lived	George II
 	James Waldegrave, 2nd Earl Waldegrave	James Waldegrave	1757 	1757 	 	– 	 	Whig 	Waldegrave 	George II
===List notes===
==Timeline==