During medieval times, there was only a fishing village there, Agadir el-arba`. In 1505 the Portuguese established a trading post named Santa Cruz do Cabo de Gué, under a governor. In 1541, the city came under Wattasid control and in 1572 a stronghold was built on the top of the hill overlooking the bay, the Kasbah. Agadir became prosperous for two centuries.
In 1911, the arrival of a German gunboat (the Panther), officially to protect the local German community, triggered the Agadir Crisis between France and Germany which allowed France, in 1913, to occupy nearly the whole kingdom of Morocco.
At 15 minutes to midnight on February 29, 1960, Agadir was almost totally destroyed by an earthquake that lasted 15 seconds, burying the city and killing thousands. The death toll is estimated at 15,000. The earthquake destroyed the ancient Kasbah. On its front gate can still be read the following sentence in Dutch: "Fear God and honour thy King".
On seeing the destruction in Agadir, King Muhammad V of Morocco declared: "If Destiny decided the destruction of Agadir, its rebuilding depends of our Faith and Will." Reconstruction began in 1961, two kilometers south of the earthquake epicentre.
Source:
Wikipedia