Here, in pictures by Alison Bagley, is all the drama from the night.
1. Counters
Counters in Corby were up till 5am
2. Smiles all-round
Tom Pursglove arrives at the count with East Northants MP Harriet Pentland
3. Waiting
Liberal Democrat Chris Stanbra waits for the result
4. Busy
The counting team at their stations at Lodge Park Sports Centre