During the trip, Obama pledged $7 billion to help combat frequent power blackouts in sub-Saharan Africa. The "Power Africa" campaign aims to double access to electricity throughout the region, extending service to 20 million new businesses and homes, the White House said.
"Access to electricity is fundamental to opportunity in this age. It's the light that children study by, the energy that allows an idea to be transformed into a real business. It's the lifeline for families to meet their most basic needs, and it's the connection that's needed to plug Africa into the grid of the global economy," Obama said at Cape Town University.
His visit also included a town hall with young people in Soweto, a Johannesburg neighborhood at the heart of the anti-apartheid struggle. He also held bilateral talks with South African President Jacob Zuma in Pretoria, with trade high on the agenda.