The Liberal Democrats won the Stray, Woodlands and Hookstone by-election last night (Thursday).
The party's candidate, Andrew Timothy, won with 1,094 votes, making up 43.8% of the vote.
Conservative candidate John Ennis received 768 votes.
The by-election was initially called after the resignation of councillor Pat Marsh, who was criticised following a string of anti-semitic tweets.
Cllr Andrew Timothy said:
"I’m thrilled to be elected to represent the people of Stray, Woodlands, and Hookstone. It is a huge honour and a privilege.
"I promised during the election that I would be a local residents voice at North Yorkshire Council and stand up for them on their behalf, that is exactly what I intend to do.”
The result means the Liberal Democrats have retained their control of North Yorkshire Council's Harrogate and Knaresborough constituency committee.
Tom Gordon, Liberal Democrat Parliamentary Candidate for Harrogate & Knaresborough, said:
“Once again this proves elections here in Harrogate & Knaresborough are a two horse race between the Liberal Democrats & the Conservatives.
"We will take the new members, new deliverers, new activists, new councillor and momentum forward into the general election to win back the parliamentary seat from the Conservatives.”

Harrogate's Ibiza Symphonica drops Scott Mills from lineup
'Inspirational' schoolgirl donates hair to help children in need
Harrogate dog lovers invited to volunteer as puppy trainers
Police appeal after Harrogate man assaulted at home
Morrisons opens 'Asian Corner' at Harrogate store
New ward-based library introduced at Harrogate Hospital
Harrogate care home donates £1,000 to charity battling loneliness
Builders unearth medieval well in Ripon city centre
Knaresborough teacher to run London Marathon in aid of Henshaws
Drugs seized and two arrested in Knaresborough
Spiegeltent returns to Harrogate for summer extravaganza
Starbeck festival set to return for third year
Police appeal to locate Harrogate fuel thief
Harrogate MP set to take on London Marathon in aid of colitis charity
Expansion could add £17m to northern economy, says Harrogate Spring Water
New café to open in place of Hoxton North this week
Ripon vintage tractor run to return this weekend
Ladies lunch event raises £25,000 for Yorkshire children's hospice
Yorkshire Baby & Toddler Show Returns
Lightwater Valley officially opens 'epic' new rollercoaster


