The European Union pledged €7 billion ($8.1 billion) toward boosting renewable-energy generation and increasing electricity access in Africa.

European Commission President Ursula von der Leyen made the announcement at an event organized by Global Citizen, a poverty eradication advocacy organization, in Johannesburg on Friday, the day before a meeting of leader of the Group of 20 nations in the city. The pledge is toward the EU’s Scaling Up Renewables in Africa campaign.