On a castle wall around the medina