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 11): May 10 - Tony Blair announces he will resign as British Prime Minister on June 27 triggering a Labour Party leadership election. 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.