Sancho I of Portugal
King Sancho I of Portugal destroyed the fort in 1189, when his forces swept away resistance from Moorish forces. It was a temporary success: the region was retaken in 1191 by the Moors. In 1250, King Afonso III finally settled this territorial dispute by sacking Alvor. In order to maintain their conquest, King Denis ordered the reconstruction of the castle in 1300.