South Africa's president has been inaugurated for a second term in a ceremony marked by prayer and air force flyovers.

Leaders from Nigeria, Zimbabwe and other African countries were also in attendance.

President Jacob Zuma took the oath of office on Saturday at the Union Buildings, a government complex in the South African capital of Pretoria. On May 7, the ruling African National Congress won elections, continuing its political dominance since the end of white minority rule 20 years ago.

Those attending the inauguration included President Robert Mugabe of Zimbabwe, who was recently in Singapore for medical treatment, and Nigerian President Goodluck Jonathan, whose government, backed by international assistance, is trying to free nearly 300 schoolgirls abducted by Islamic militants.