Election result times for councils and mayor votes
Adam Fleming settles down with his guide to what happens when the polls close - what results are expected when and why declarations will continue for around 24 hours.
Polling booths for the local councils elections in England, Wales and Scotland - and to elect mayors in London, Liverpool and Salford - close on at 2200 BST on Thursday.
BBC1's election programme runs from 2335 BST on Thursday until around 0400 Friday. There will be hour-long shows on BBC2 on Friday, starting at 1200, 1400 and 1700.