Conservative Adam Shelbrooke has held onto his Elmet and Rothwell seat with an increased majority.
The Tory MP beat away nearest challenger, Labour’s Veronica King, by more than 8,000 votes.
The first ballot boxes arrived at just after 11.30pm, to much frenzy of sampling from officials.
At one point officials and candidates were warned against placing papers on the counting tables.
Speaking before the declaration, Mr Shelbrooke said: “I am confident of winning the seat - I think Labour have conceded that I have won it now.
“I have my own ambitions for the seat - I want to make it dementia-friendly constituency and put an end to unpaid internships.”
As it happened the Tory candidate won with 27,978 votes, ahead of Ms King by 8,490.
After winning the seat, he said: “When I stood in Elmet and Rothwell five years ago, I said I wanted to reduce unemployment.
“David Cameron has done that and we want to make your country great.
“I am blown away by this result - I knew we were running a good campaign. I work hard as a constituency MP.”
He spoke of a premonition he had before the election result was announced.
“I said,” he added. “That if what I heard on the street was extrapolated across the country, we could have a majority.”
He was then asked asked about a Conservative government’s plans for the future.
“That’s about £60,000 above my pay level to answer that!” he replied. “There will decisions between backbench MPs, and I am happy to be one.
“It is always tough campaigning in a city, but it is nice to see a bit of blue to wash away some of the red!”
Former kitchen fitter Shelbroke had held Elmet and Rothwell since the constituency was created in 2010.
The old Elmet seat was previously a Labour stronghold for Colin Burgon since he won the seat from the Tories in 1997.