While Ukip has achieved almost unimaginable success this year, 2014 has also been a year littered with gaffes by party members.
And its chiefs appeared to predict such blunders two years ago, by hiring an Oxford-educated City barrister to keep “bad stuff” hidden from the public domain, it has been revealed.
The documents seen by the Daily Mirror fly in the face of Ukip’s attempt to present itself as a party which is not concerned with spin like the three main Westminster parties.
Leaked minutes from the party’s national executive committee from June 2013 show that officials discussed the need for a lawyer to be “actively involved” in its dealings with the media.
Ukip gaffes and controversies
Ukip gaffes and controversies
1/12 Neil Hamilton
Picture Exclusive: The year is 1998. The venue is a Springbok Club meeting. The flag is a symbol for white supremacists in South Africa. And the speaker is Ukip’s deputy chairman, Neil Hamilton
2/12 Kerry Smith
Kerry Smith resigned as would-be MP for South Basildon and East Thurrock after it emerged he had mocked gay party members as “disgusting poofters”, joked about shooting people from Chigwell in a “peasant hunt” and referred to someone with a Chinese name as a “Chinky bird”
3/12 Natasha Bolter
Former Ukip member Natasha Bolter was suspected of not having the teaching qualifications she professed to, only days after it was revealed that claims of her having attended Oxford University were also false
4/12 Ukip Calypso song
Mike Reid released a single in praise of UKIP trying to control the UK's borders, only to withdraw the single after being accused of racism for singing in a Jamaican accent
5/12 Farage 'car-crash' interview
Ukip spin doctor forced to intervene as Farage falters in disastrous radio interview
6/12 Janice Atkinson
Janice Atkinson, Ukip's South East chair, pictured by protesters while campaigning in Ashford, Kent with local party chair Norman Taylor
7/12 Ukip cancels Freephone
Ukip cancels Freephone number after protesters repeatedly called to push up costs
8/12 Farage 'car-crash' interview
Mr Farage appeared to be caught out on a number of issues, from Romanian neighbours to people speaking foreign languages on the train
9/12 Ukip employs illegal immigrants
Ukip criticised after European election candidate found employing illegal immigrants
10/12 Magnus Nielsen
Ukip candidate: 'Take away the right to vote to improve election turnout'
11/12 London Live make-up
Ukip's Nigel Farage reportedly refused to go on London Live 'without professional make up-artist'
Nigel Farage says he is taking taking legal advice over “outrageous” allegations that he is responsible for more than £50,000 of “missing” EU funding that was paid directly into his personal bank account
Chiefs at the meeting admitted that the party “will face some tough times” and said that barrister Matthew Richardson could become Ukip secretary in order to decide “whether to take injunctions out” in the event that the party is criticised in the media.
The document read that the party chiefs “ensure all of the bad stuff is kept out of the public domain”, with Mr Richardson declaring he specialises in “online reputation management”.
Party chairman Steve Crowther then explained that “work must be done in dealing with what our members publish” with Mr Richardson agreeing.
The meeting ended with the committee unanimously agreeing to appoint Mr Richardson.
Ukip has not yet responded to a request for a comment by The Independent but a Ukip spokeswoman told the Mirror: "Like all other parties we have a party secretary to manage legal and political affairs.
"No injunctions have ever been used."