UK Prime Ministers (CSV)

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
HNumberPrime MinisterPartyTerm StartTerm EndTenure (years)MonarchBornDiedNotable For
21Robert WalpoleWhig1721-04-031742-02-1120.8George I / George II1676-08-261745-03-18Generally regarded as first PM; longest-serving
32Spencer ComptonWhig1742-02-161743-07-021.4George II1673-04-011743-07-02Died in office
43Henry PelhamWhig1743-08-271754-03-0610.5George II1694-09-251754-03-06Died in office; Austrian Succession peace
54Duke of NewcastleWhig1754-03-161756-11-112.7George II1693-07-211768-11-17First term; Seven Years War began
65Duke of DevonshireWhig1756-11-161757-07-250.7George II1720-05-081764-10-02Seven Years War early phase
76Duke of NewcastleWhig1757-07-021762-05-264.9George II / George III1693-07-211768-11-17Second term; Seven Years War victory
87Earl of ButeTory1762-05-261763-04-080.9George III1713-05-251792-03-10First Scottish PM; Treaty of Paris
98George GrenvilleWhig1763-04-161765-07-132.2George III1712-10-141770-11-13Stamp Act on American colonies
109Marquess of RockinghamWhig1765-07-131766-07-301.0George III1730-05-131782-07-01First term; repealed Stamp Act
1110Earl of Chatham (Pitt the Elder)Whig1766-07-301768-10-142.2George III1708-11-151778-05-11Seven Years War architect
1211Duke of GraftonWhig1768-10-141770-01-281.3George III1735-09-281811-03-14Wilkes affair; Townshend Acts
1312Lord NorthTory1770-01-281782-03-2012.1George III1732-04-131792-08-05American Independence lost; Tea Act
1413Marquess of RockinghamWhig1782-03-271782-07-010.3George III1730-05-131782-07-01Second term; died in office
1514Earl of ShelburneWhig1782-07-041783-04-020.7George III1737-05-021805-05-07Treaty of Paris (American independence)
1615Duke of PortlandWhig / Tory1783-04-021783-12-190.7George III1738-04-141809-10-30First term; Fox-North Coalition
1716William Pitt the YoungerTory1783-12-191801-03-1417.2George III1759-05-281806-01-23Youngest PM at 24; French Revolutionary Wars
1817Henry AddingtonTory1801-03-171804-05-103.2George III1757-05-301844-02-15Peace of Amiens with Napoleon
1918William Pitt the YoungerTory1804-05-101806-01-231.7George III1759-05-281806-01-23Second term; died in office; Battle of Trafalgar
2019Lord GrenvilleWhig1806-02-111807-03-311.1George III1759-10-251834-01-12Ministry of All the Talents; slave trade abolished
2120Duke of PortlandTory1807-03-311809-10-042.5George III1738-04-141809-10-30Second term; Napoleonic Wars; died in office
2221Spencer PercevalTory1809-10-041812-05-112.6George III1762-11-011812-05-11Only PM assassinated
2322Earl of LiverpoolTory1812-06-081827-02-1714.6George III / George IV1770-06-071828-12-04Defeated Napoleon; Corn Laws; longest 19th-c PM
2423George CanningTory1827-04-101827-08-080.3George IV1770-04-111827-08-08Shortest serving PM (119 days); died in office
2524Viscount GoderichTory1827-08-311828-01-220.4George IV1782-11-011859-01-28Resigned without facing Parliament
2625Duke of WellingtonTory1828-01-221830-11-222.8George IV / William IV1769-05-011852-09-14Catholic Emancipation; Battle of Waterloo hero
2726Earl GreyWhig1830-11-221834-07-163.6William IV1764-03-131845-07-17Reform Act 1832; abolished slavery in Empire
2827Viscount MelbourneWhig1834-07-161834-11-170.3William IV1779-03-151848-11-24First term; advised young Queen Victoria
2928Duke of Wellington (Caretaker)Tory1834-11-171834-12-090.06William IV1769-05-011852-09-14Caretaker PM briefly
3029Sir Robert PeelConservative1834-12-101835-04-080.3William IV1788-02-051850-07-02First term; Tamworth Manifesto; modern Conservatism
3130Viscount MelbourneWhig1835-04-181841-08-306.4William IV / Victoria1779-03-151848-11-24Second term; young Victoria's mentor
3231Sir Robert PeelConservative1841-08-301846-06-274.8Victoria1788-02-051850-07-02Second term; Corn Laws repeal; income tax introduced; died from fall
3332Lord John RussellWhig / Liberal1846-06-301852-02-215.6Victoria1792-08-181878-05-28First term; Irish Famine response; Jewish relief
3433Earl of DerbyConservative1852-02-231852-12-170.8Victoria1799-03-291869-10-23First term of three; minority government
3534Earl of AberdeenPeelite1852-12-191855-02-062.1Victoria1784-01-281860-12-14Crimean War; coalition government
3635Viscount PalmerstonLiberal1855-02-061858-02-193.0Victoria1784-10-201865-10-18First term; Crimean War; Don Pacifico affair
3736Earl of DerbyConservative1858-02-261859-06-121.3Victoria1799-03-291869-10-23Second term; India Act; reform bill
3837Viscount PalmerstonLiberal1859-06-121865-10-186.4Victoria1784-10-201865-10-18Second term; died in office; American Civil War
3938Earl Russell (Lord John Russell)Liberal1865-10-291866-06-260.7Victoria1792-08-181878-05-28Second term; reform bill failure
4039Earl of DerbyConservative1866-06-281868-02-251.7Victoria1799-03-291869-10-23Third term; Reform Act 1867
4140Benjamin DisraeliConservative1868-02-271868-12-010.8Victoria1804-12-211881-04-19First term; Jewish-born PM; Reform Act
4241William GladstoneLiberal1868-12-031874-02-175.2Victoria1809-12-291898-05-19First term; Irish church; education; ballot act
4342Benjamin DisraeliConservative1874-02-201880-04-236.2Victoria1804-12-211881-04-19Second term; Queen made Empress of India; Congress of Berlin
4443William GladstoneLiberal1880-04-231885-06-095.1Victoria1809-12-291898-05-19Second term; Irish Land Acts; Kilmainham Treaty
4544Marquess of SalisburyConservative1885-06-231886-01-280.6Victoria1830-02-031903-08-22First term; minority government
4645William GladstoneLiberal1886-02-011886-07-200.4Victoria1809-12-291898-05-19Third term; First Irish Home Rule Bill defeated
4746Marquess of SalisburyConservative1886-07-251892-08-116.0Victoria1830-02-031903-08-22Second term; Unionists; Scramble for Africa
4847William GladstoneLiberal1892-08-151894-03-021.6Victoria1809-12-291898-05-19Fourth term; Second Irish Home Rule Bill
4948Earl of RoseberyLiberal1894-03-051895-06-221.3Victoria1847-05-071929-05-21Liberal; Derby winner as PM
5049Marquess of SalisburyConservative1895-06-251902-07-117.1Victoria / Edward VII1830-02-031903-08-22Third term; Boer War; Victorian imperialism
5150Arthur BalfourConservative1902-07-121905-12-043.4Edward VII1848-07-251930-03-19Balfour Declaration (1917 letter); Education Act 1902
5251Sir Henry Campbell-BannermanLiberal1905-12-051908-04-032.3Edward VII1836-09-071908-04-22South African self-government; died in office
5352Herbert Henry AsquithLiberal1908-04-081916-12-058.6Edward VII / George V1852-09-121928-02-15WWI; Parliament Act 1911; women's suffrage crisis
5453David Lloyd GeorgeLiberal1916-12-071922-10-195.9George V1863-01-171945-03-26WWI victory; Irish War of Independence; Coalition
5554Andrew Bonar LawConservative1922-10-231923-05-200.6George V1858-09-161923-10-30Resigned due to illness; died months later
5655Stanley BaldwinConservative1923-05-221924-01-220.7George V1867-08-031947-12-14First term of three; first Labour government followed
5756Ramsay MacDonaldLabour1924-01-221924-11-040.8George V1866-10-121937-11-09First Labour PM; minority government
5857Stanley BaldwinConservative1924-11-041929-06-054.6George V1867-08-031947-12-14Second term; General Strike 1926
5958Ramsay MacDonaldLabour / National1929-06-051935-06-076.1George V1866-10-121937-11-09Second term; Great Depression; National Government
6059Stanley BaldwinConservative1935-06-071937-05-281.9George V / Edward VIII / George VI1867-08-031947-12-14Third term; Abdication Crisis; rearmament
6160Neville ChamberlainConservative1937-05-281940-05-103.0George VI1869-03-181940-11-09Appeasement; Munich Agreement; WWII began
6261Winston ChurchillConservative1940-05-101945-07-265.2George VI1874-11-301965-01-24First term; WWII; wartime leader; V-E Day; Nobel Prize in Literature
6362Clement AttleeLabour1945-07-261951-10-266.3George VI1883-01-031967-10-08NHS founded; Indian independence; NATO; welfare state
6463Winston ChurchillConservative1951-10-261955-04-053.5George VI / Elizabeth II1874-11-301965-01-24Second term; Korean War armistice; resigned aged 80
6564Sir Anthony EdenConservative1955-04-061957-01-091.8Elizabeth II1897-06-121977-01-14Suez Crisis; resigned in disgrace
6665Harold MacmillanConservative1957-01-101963-10-186.7Elizabeth II1894-02-101986-12-29Winds of Change; economic boom; Profumo scandal
6766Sir Alec Douglas-HomeConservative1963-10-181964-10-161.0Elizabeth II1903-07-021995-10-09Renounced earldom to become PM; Wilson defeated him
6867Harold WilsonLabour1964-10-161970-06-185.7Elizabeth II1916-03-111995-05-24First term; White Heat of Technology; devalued pound
6968Edward HeathConservative1970-06-191974-03-043.7Elizabeth II1916-07-092005-07-17UK joined EEC; miners' strikes; 3-day week
7069Harold WilsonLabour1974-03-041976-04-052.1Elizabeth II1916-03-111995-05-24Second term; EEC referendum; resigned unexpectedly
7170James CallaghanLabour1976-04-051979-05-043.1Elizabeth II1912-03-272005-03-26Winter of Discontent; IMF crisis; lost no-confidence vote
7271Margaret ThatcherConservative1979-05-041990-11-2811.6Elizabeth II1925-10-132013-04-08First female PM; Falklands War; privatisation; Big Bang; Miners' Strike
7372John MajorConservative1990-11-281997-05-026.4Elizabeth II1943-03-29AliveGulf War; Maastricht Treaty; IRA peace process
7473Tony BlairLabour1997-05-062007-06-2710.2Elizabeth II1953-05-06AliveGood Friday Agreement; Iraq War; devolution; minimum wage
7574Gordon BrownLabour2007-06-272010-05-112.9Elizabeth II1951-02-20AliveGlobal financial crisis; bank bailouts
7675David CameronConservative2010-05-112016-07-136.2Elizabeth II1966-10-09AliveCoalition government; Brexit referendum; austerity; resigned
7776Theresa MayConservative2016-07-132019-07-243.0Elizabeth II1956-10-01AliveBrexit negotiations; snap election failure; second female PM
7877Boris JohnsonConservative2019-07-242022-09-062.1Elizabeth II / Charles III1964-06-19AliveBrexit delivered; COVID-19 pandemic; partygate scandal
7978Liz TrussConservative2022-09-062022-10-250.1Charles III1975-07-26AliveShortest serving PM (45 days); mini-budget crisis
8079Rishi SunakConservative2022-10-252024-07-051.7Charles III1980-05-12AliveFirst British-Asian PM; first Hindu PM; lost 2024 election
8180Keir StarmerLabour2024-07-05Present1+Charles III1962-09-02AliveFirst Labour PM since 2010; won landslide; former DPP