The election was keenly watched in Kenya, where relatives of Barack Obama shared in his joy. There is great pride in the country that the next US president has Kenyan roots.
A large crowd gathered in a field at his late father’s village to watch the results come in. Revellers watched the election on large screens through the night.
“As you can see, everyone is celebrating throughout the day. We’ll see what happens but its victory to everybody and we are happy,” said one man.
In the run-up to the vote babies have been named after Obama, a new brand of beer honours him and he has even been the inspiration for a musical.
Many Kenyans hope he can inspire unity in their country.
“I think it’s great news. We’re gonna celebrate today. Obama has shown the world we can be one, there is no tribalism, no racism. Kenyans should also do that,” one woman said.
There is also hope among Kenyans that the US will now take a greater interest in African affairs, but analysts say that will not be an immediate priority for the new US leader.