Provisional results suggest a tight presidential race in Kenya between Deputy President William Ruto and former prime minister Raila Odinga.
With more than 90% of results posted from thousands of individual districts, local tallies of the raw data suggest little separates the pair.
However it could be several days before the official result is known.
This vote follows an intense campaign dominated by debates about living costs, unemployment and corruption.
Turnout is estimated at around 60%, well short of the 80% in the last election five years ago.
A largely peaceful election day was marred by logistical delays and a failure of the identification kit in some parts of the country.
There were several incidents of insecurity reported - one involving an MP from western Kenya who is on the run for allegedly shooting dead his rival's bodyguard at a polling station.
Baba v Hustler
The two frontrunners in the presidential race are seasoned politicians.
Mr Odinga, 77 - a long-serving opposition leader, nicknamed Baba ("father") by his supporters - is running for president for a fifth time. Mr Ruto, 55, who has tried to emphasise his connection with ordinary Kenyans by calling himself a "hustler", is taking his first stab at the presidency.
Two other candidates - David Mwaure and George Wajackoya - are also in the race.
Outgoing President Uhuru Kenyatta is backing Mr Odinga, a foe turned ally, to succeed him, after a falling out with Mr Ruto.
To win the presidential race in the first round, a candidate needs:
more than half of all the votes cast across the country
at least 25% of the votes cast in a minimum of 24 counties.
After counting the votes, local officials take a photo of the final tally sheet and send the image to both the constituency and national tallying centres.
The media, political parties and civil society groups have been compiling their own tallies using these final results declared at the more than 40,000 polling stations.
But only the electoral commission can declare the winner of the presidential election after verifying the physical and digital forms sent to the national tallying centre.
It has seven days to announce the result.
Click here to see the BBC interactive
YOUTH VIEW: The woman rallying election crowds - but won't vote
RAILA ODINGA: The eternal candidate hoping it will be fifth-time lucky
WILLIAM RUTO: William Ruto: The former chicken seller with presidential ambitions
READ MORE: Full coverage