アブド・アッラフマーン3世
The origin of Almería is connected to the 9th-century establishment of the so-called Republic of Pechina (Bayyana) some kilometres to the north, which was for a time autonomous from the Cordobese central authority: the settlement of current-day Almería initially developed as a humble trading port of Pechina known as Al-Mariyya Bayyana. Pechina and its maritime port experienced divergent fortunes, and while the former progressively depopulated, the latter became the base of the Caliphal navy after 933, during the rule of Abd-ar-Rahman III. Furthermore, in 955, Abd-ar-Rahman III decided to erect the walls. A silk industry consisting of hundreds of looms and feeding itself from the mulberry trees planted in region, fostered Almería's economy. Almería also became an important slave trade hub during the caliphal period.