The Guzman el Bueno Castle in Tarifa was constructed in the 20th Century by order of the calif, Abderraman III.
In the following generation, under the calif Omar, the details were fixed for the execution of this general law.