Sir Keir Starmer will go down in history as the shortest-serving Labour prime minister when he leaves Downing Street on Monday.
Sir Keir, who will have clocked up just 745 days in the top office, will also be recorded as having one of the shortest terms in modern Britain.
However, his tenure surpassed that of his two immediate Conservative predecessors, Rishi Sunak (619 days, Oct 2022-Jul 2024) and Liz Truss (49 days, Sep-Oct 2022).
He also served longer than three other post-1900 prime ministers, all Conservatives: Andrew Bonar Law (211 days, Oct 1922-May 1923), Alec Douglas-Home (364 days, Oct 1963-Oct 1964), and Anthony Eden (645 days, Apr 1955-Jan 1957).
To climb higher on the list, Sir Keir would have needed to serve until 5 November this year, surpassing Liberal prime minister Henry Campbell-Bannerman, who held office for 852 days from 1905 to 1908.
Sir Keir will bow out as his party’s shortest-serving premier in history, behind all six previous Labour prime ministers.
Tony Blair remains Labour’s longest-serving prime minister, clocking up 3,708 days from May 1997 to June 2007.
In second place is Harold Wilson, who served two non-consecutive periods in office, October 1964 to June 1970 and March 1974 to April 1976, which together totalled 2,835 days.
Ramsay MacDonald also spent two non-consecutive periods as prime minister, from January to November 1924 and June 1929 to June 1935, adding up to 2,480 days.
However, for the period from 1931 to 1935 he was a member of the short-lived National Labour party, having been expelled from the official Labour party after forming a coalition government.
Clement Attlee was Labour prime minister continuously for 2,283 days from July 1945 to October 1951, while Jim Callaghan clocked up 1,124 days from April 1976 to May 1979, just ahead of Gordon Brown’s total of 1,049 days from June 2007 to May 2010.
Had Sir Keir continued as prime minister until at least 21 May 2027, he would have outrun Gordon Brown.
Andy Burnham will now start his premiership, with the next general election due to take place no later than August 2029.
This is long enough for Mr Burnham to clock up more days in office than both Sir Keir and Mr Brown, should he stay as prime minister for the remainder of this Parliament.