Bagamoyo, the most recent history has it as a terminal point on the coast for Arab trading caravans. It was also used as a holding point for slaves brought from the interior and awaiting transportation to Zanzibar. During German colonial times, it was the economic and administrative capital of German East Africa. Since the capital was moved to Dar Es Salaam, Bagamoyo has been in decline. Architecture of European origin is slowly falling down, but still beautiful to see. The Arabic influence on local architecture is also significant.