UKIP candidate David Simister has been elected to North Yorkshire County Council.
Councillor Simister won the vote with 1,164 votes, gaining from the 2009 majority winner, Liberal Democrat Geoffrey Webber.
Liberal Democrat Andrew Martin Goss retained his seat, with 1,145 votes.
Speaking to the Harrogate Advertiser, Coun Simister said: “It is absolutely fantastic.
“We were up against some very seasoned and experienced campaigners in the Liberal Democrats.
“I can’t believe I came first. I thought we would do well but I didn’t think we would win.”
He continued: “I am so delighted and want to thank all our voters and now we can take this to the next stage in district elections and then Europe and the General Election.
“It is still sinking in, we have a great team working with us, Mark Simpson has been fantastic.
“When we were walking around yesterday canvassing there was a sense that a change was coming.”
Andrew Goss said: “We underestimated UKIP, we didn’t expect them to get as many votes.
“It was only a matter of 32 votes, we are shocked.
“I haven’t got any choice in serving alongside a UKIP councillor, but I will certainly be keeping an eye on things.”