This Moorish palace formed part of the city wall.
The wall was originally built to protect this Moorish palace.
mnli hypothesis: The wall was originally built to protect this Moorish palace. premise: This Moorish palace formed part of the city wall.