As the political parties move into the final days of the election campaign, outside advisers are jostling for position in the hope of winning lucrative work on the back of any election fall out.
As in any business environment, legal advice and proper risk management can be crucial, particularly in the heady campaigning atmosphere preceding the big vote on 7 June.
The American election turned into a veritable feast for the lawyers.
Just who is responsible for the day-to-day management of the legal issues that arise during the campaign?

Labour
Andrew Sharp is responsible for overseeing legal and constitutional affairs for the Labour party. Sharp, who is not legally qualified, has worked as the legal liaison officer under five different leaders and has primary responsibility for instructing and managing external advisers.
The long term external legal adviser for the Labour party is Gerald Shamash (left), of London firm Steel and Shamash, who advises the party on all electoral law issues.
Shamash began working for the party in 1992 and was a Labour councillor for eight years in Barnet.
The other key adviser to the party is John Sharp, a partner at Gregory Rowcliffe and Milners. Sharpe advises on constitutional issues.
"Between the two firms we are the main advisers to the party, although other specialists may be brought in," Shamash says.

Conservatives
No in-house function. Until two years ago the party had a legal manager, (playing a similar role to Andrew Sharp in the Labour party), but it now outsources all work to law firms.
Shadow Attorney General Edward Garnier (top right) gives informal advice to the party on any legal issues that arise. "If they want advice on an informal basis I am prepared to give it," he says.
Garnier, a barrister at 1 Brick Court, has been a Conservative Member of Parliament for Harborough since April 1992. He was appointed a QC in April 1995.
He says he works closely with party chairman Michael Ancram, particularly in choosing external advisers. "On the last few occasions the chairman of the party has sought my advice on external advisers – as a member of the Bar and a practising lawyer I have more of a finger on the pulse," he says.
The principal adviser is Penningtons, but the Conservative Party has also instructed other firms, including Clifford Chance, depending on the problem in hand.
Garnier does not believe that a political party needs an in-house legal adviser: "You can have an in-house function if you want one, just as a company can. Equally a lot of big companies do not want to maintain expensive in-house departments, but retain external advisers."

Liberal Democrat
No in-house function, but the key adviser is Piers Coleman (below), a property partner at Nicholson Graham & Jones and head of the firm's election law unit.
Coleman is the main point of contact on any legal issues that arise in the party and acts very much as the
in-house function.
"It takes up irregular time periods between the election. I advise on commercial property and tax issues and any political issue that requires legal input."
Coleman first acted for the then SDP in late 1981. He is not politically active, although he is a member of the Liberal Democrats. "I believe that you can give better advice if you are not hitched to the party," he says.
Does he think political parties should have their own legal function? "It depends how much money you have – there can be a lot of legal fall out, as in the Winchester case last time around [when the Liberal Democrats won Winchester by just two votes]."