Photos: Obama's Trip to Africa

The president and his family visited Senegal, South Africa and Tanzania.

President Barack Obama dances to music upon arriving Monday, July 1, 2013, in Dar Es Salaam, Tanzania. (Saul Loeb/AFP/Getty Images)

President Barack Obama dances to music upon arriving Monday, July 1, 2013, in Dar Es Salaam, Tanzania.

By SHARE

UPDATED, Tuesday, 7/2/13: Air Force One left Tanzania Tuesday to more dancing and celebration, concluding President Barack Obama's week-long stay in Africa. The trip was filled with dignitary meetings and cultural highlights, ending with an encounter with former President George W. Bush. 

[GALLERY: Obama Visits Africa]

First lady Michelle Obama met with Laura Bush as she hosted a forum for regional first ladies, while the past and current president attended a wreath-laying ceremony in Tanzania at the site of the 1998 U.S. Embassy bombing in the former capital city of Dar es Salaam. Obama also spent time at an energy-storing soccer ball demo, capping his campaign to increase the United States' role in bringing electricity to Africa. 

A photo diary of Obama's trip:

President Barack Obama demonstrates “the SOCCKET Ball,” which uses kinetic energy to provide power to charge a cell phone or power a light, during an event at the Ubungo power plant Tuesday, July 2, 2013, in Dar Es Salaam, Tanzania.

President Barack Obama demonstrates "the SOCCKET Ball," which uses kinetic energy to provide power to charge a cell phone or power a light, during an event at the Ubungo power plant Tuesday in Dar Es Salaam, Tanzania. 

Former President George W. Bush and President Obama greet family members of victims of the 1998 U.S. Embassy bombing in Dar es Salaam. (Saul Loeb/AFP/Getty Images)

Former President George W. Bush and President Obama greet family members of victims of the 1998 U.S. Embassy bombing in Dar es Salaam.

First lady Michelle Obama and former first lady Laura Bush participate in the African First Ladies Summit on Tuesday, July 2, 2013, in Dar es Salaam, Tanzania. (Jim Watson/AFP/Getty Images)

First lady Michelle Obama and former first lady Laura Bush participate in the African First Ladies Summit.

Air Force One takes off as a Tanzanian honor guard stands to attention at the Julius Nyerere airport on Tuesday, Juy 2, 2013, in Dar es Salaam, Tanzania. (Ben Curtis/AP)

Air Force One takes off as a Tanzanian honor guard stands to attention at the Julius Nyerere airport in Dar es Salaam.

•••

UPDATED, Monday, 7/1/13: The people of Tanzania gave President Barack Obama a hero's welcome Monday, marking the final leg of his trip to Africa after his presence in South Africa was overshadowed by Nelson Mandela's failing health.  

The president redoubled his efforts to promote business between the United States and sub-Saharan African countries Monday, meeting with business leaders and announcing a program called "Trade Africa," according to the AP, which aims to send 40 percent of the region's exports to the U.S. 

On Sunday, Obama said he was "deeply humbled" by a visit to the cell where Nelson Mandela spent years as a prisoner. Obama also met with Mandela's family during his three-night stay and made stops in Pretoria, Cape Town and Johannesburg.

Women wearing traditional khanga wraps rehearse their singing ahead of welcoming President Barack Obama and his family  Monday, July 1, 2013, at the State House in Dar Es Salaam, Tanzania. (Ben Curtis/AP)

Women wearing traditional khanga wraps rehearse their singing ahead of welcoming President Barack Obama and his family Monday to the State House in Dar Es Salaam, Tanzania.

President Barack Obama applauds a group of performers during an arrival ceremony at Julius Nyerere International Airport on Monday, July 1, 2013, in Dar Es Salaam, Tanzania. (Evan Vucci/AP)

President Barack Obama applauds a group of performers during an arrival ceremony at Julius Nyerere International Airport in Dar es Salaam.

First lady Michelle Obama arrives at the State House on Monday, July 1, 2013, in Dar es Salaam, Tanzania. (Jim Watson/AFP/Getty Images)

First lady Michelle Obama arrives at the State House in Dar es Salaam.

[READ: Obama to Highlight American Investment Opportunities in Africa]

President Barack Obama looks out the window from the cell where Nelson Mandela, an anti-apartheid activist who was eventually released and won the Nobel Peace prize for his efforst, was once jailed on Robben Island. (Jim Watson/AFP/Getty Images)

President Barack Obama looks out the window Sunday, June 30, 2013, from the cell where Nelson Mandela, an anti-apartheid activist who was eventually released and won the Nobel Peace prize for his efforts, was once jailed on Robben Island, South Africa.

A note written by Obama and signed by both him and first lady Michelle Obama left in the guestbook after they toured Robben Island, South Africa, on Sunday, June 30, 2013. (Evan Vucci/AP)

A note written by Obama left in the guestbook after he and first lady Michelle toured Robben Island.

Members of a security team keep watch in Cape Town, South Africa, on Sunday, June 30, 2013. (Saul Loeb/AFP/Getty Images)

Members of a security team keep watch Sunday in Cape Town, South Africa.

President Barack Obama pretends to drop a microphone alongside Aviwe Mtongana, 15, after Mtongana performed a rap during a tour of the Desmond Tutu HIV Foundation Youth Centre on Sunday, June 30, 2013, in Cape Town, South Africa.  (Saul Loeb/AFP/Getty Images)

President Barack Obama pretends to drop a microphone alongside Aviwe Mtongana, 15, after Mtongana performed a rap song during a tour of the Desmond Tutu HIV Foundation Youth Centre on Sunday in Cape Town, South Africa.

The University of Johannesburg hosted a town hall meeting with an audience and a “live link” for Obama to take questions on Saturday, June 29, 2013, in Soweto, South Africa. (Chip Somodevilla/Getty Images)

The University of Johannesburg hosted a town hall meeting with an audience and a "live link" for Obama to take questions Saturday in Soweto, South Africa.

Police use stun grenades to disperse protesters gathered outside the University of Johannesburg before Obama’s arrival Saturday, June 29, 2013, in Soweto, South Africa. (Christopher Furlong/Getty Images)

Police use stun grenades to disperse protesters gathered outside the University of Johannesburg before Obama's arrival Saturday.

[READ: Kenyan Leaders Slam President Obama's Gay Rights Comments]

About 800 people organized by the Congress of South African Trade Unions marched  through the streets to protest Obama’s arrival on Friday, June 28, 2013, in Pretoria, South Africa. (Chip Somodevilla/Getty Images)

About 800 people organized by the Congress of South African Trade Unions marched  through the streets to protest Obama's arrival Friday in Pretoria, South Africa.

•••

Friday, 6/28/13: President Barack Obama and his family visited the presidential palace, a food security expo, and the House of Slaves where the African slave trade once flourished, before waving goodbye to Senegal Friday.

President Barack Obama spent two nights in the nation bolstering its agriculture and global economic trade. Analysts described the trip as way to overcome disappointment about his muted first-term African relations, and costly visit – up to $100 million, according to a Washington Post report. Obama visited the House of Slaves on Goree Island Thursday and pitched U.S. foreign aid while visiting a food expo behind his Dakar hotel Friday.