Question: In what political role did the politican who Alistair Beaton worked as a speechwriter for, serve in the Blair Government? 

Context paragraphs:
Alistair Beaton: Alistair Beaton (born 1947) is a Scottish left-wing political satirist, journalist, radio presenter, novelist and television writer.  At one point in his career he was also a speechwriter for Gordon Brown.

Gordon Brown: James Gordon Brown (born 20 February 1951) is a former British politician who was Prime Minister of the United Kingdom and Leader of the Labour Party from 2007 to 2010.  He served as Chancellor of the Exchequer in the Blair Government from 1997 to 2007.  Brown was a Member of Parliament (MP) from 1983 to 2015, first for Dunfermline East and later for Kirkcaldy and Cowdenbeath.

Law of North Korea: The specific hierarchy of authority in North Korea is the words or personal directives of Kim Jong-un; followed by the Ten Principles for the Establishment of a Monolithic Ideological System, WPK directives— particularly the policy guidance of the WPK Secretariat’s Organization and Guidance Department; the WPK Charter and domestic civil laws, and finally the North Korean Constitution.  The WPK, while maintaining the dominant political role within the North Korean party-state, came to serve the leader in primacy above all other political entities.  As in other communist political systems, the state and society serve the party, and civil laws do not bind the party.

Kate Hoey: Catharine Letitia Hoey (born 21 June 1946) is a British Labour Party politician who has been the Member of Parliament (MP) for Vauxhall since the by-election in 1989.  She served in the Blair Government as Minister for Sport from 1999 to 2001.

Referendums (Scotland &amp; Wales) Act 1997: The Referendums (Wales & Scotland) Act 1997 (c. 61) is an Act of the Parliament of the United Kingdom, which made legal provision for the holding of a non-binding referendum in Scotland on the establishment of a democratically elected Scottish Parliament with tax-varying powers and a non-binding referendum in Wales on the establishment of a democratically elected Welsh Assembly.  It was introduced to the House of Commons by the then Prime Minister Tony Blair on 15 May 1997 just two weeks after the landslide Labour landslide victory in the 1997 General Election and was the very first Bill to be presented to the Commons by the Blair Government of 1997-2007.  The Act received royal assent on 31 July 1997.

Arms-to-Iraq: The Arms-to-Iraq affair concerned the uncovering of the government-endorsed sale of arms by British companies to Iraq, then under the rule of Saddam Hussein.  The scandal contributed to the growing dissatisfaction with the Conservative government of John Major and may have contributed to the electoral landslide for Tony Blair's Labour Party at the 1997 general election.  The whole affair also highlighted the weakness of the constitutional convention of individual ministerial accountability, leading to its codification as the Ministerial Code by the Blair Government.

A Planet for the President: A Planet for the President (2004) is a novel by Alistair Beaton.  Set in the not-too-distant future, it satirically ponders the question of what action the President of the United States might take if he finally realized that global climate change is converting the earth into an increasingly uninhabitable planet, also for Americans.  Eventually persuaded by his aides to "think the unthinkable", the President in the novel, Fletcher J. Fletcher, greenlights drastic measures to stop environmental destruction and to secure for himself a place in history as the saviour of the earth.  A biting political satire, "A Planet for the President" is a (deliberately) thinly disguised take on George W. Bush and his administration.  The book has been hailed by the Daily Mail, a British tabloid, as """ for the Eco generation" .

Electric Ink: Electric Ink is a BBC Radio sitcom written by Alistair Beaton and journalist Tom Mitchelson.  It stars Robert Lindsay in series one and John Sessions in series two as Maddox Bradley, a 56 year old political journalist at an unnamed broadsheet newspaper that is heading down-market as the circulation numbers drop and budgets are cut.  It also maintains an online presence which chases viewers with commercially lucrative "fluff" pieces, blogs, online comments and vodcasts.  Alongside the new media aspect, other focuses of the storyline include journalistic ethics and integrity, and the viability of print media.

Downwardly Mobile: Downwardly Mobile is a British sitcom series was produced by Portman Productions in association with Yorkshire Television and that aired on ITV from 21 July to 1 September 1994.  Starring Frances de la Tour, Philip Jackson, Stephen Tompkinson and Josie Lawrence, it was written by Alistair Beaton and Barry Pilton and directed by Martin Dennis.

Office of the e-Envoy: The Office of the e-Envoy was set up by the Blair Government in 1999 and was replaced by the E-Government Unit in September 2004.  A few senior members of the office joined gov3 an ICT consultancy firm for governments.

Supporting paragraphs: Alistair Beaton Gordon Brown
Answer: Chancellor of the Exchequer