Input (grade 13): Labour Party (UK) leadership election, 2007: Gordon Brown is elected Leader of the Labour Party UK, succeeding incumbent Tony Blair, and becoming Prime Minister of the United Kingdom 3 days later.
Output (grade 12): June 27 - Tony Blair resigns as Prime Minister of the United Kingdom; New Labour Party leader Gordon Brown is appointed Prime Minister by Queen Elizabeth II.