Alcazars are fortresses and palaces in Portugal and Spain, and the word literally translates from Arabic as "fortress". Such structures appeared with the arrival of the Moors to the territory of Spain in the 8th century. The Alcazar in Segovia dates back a century later, but the first mentions of it appeared only in 1120, so one can only guess what the fortress looked like before.
It was built about 2,000 years ago and served its purpose until the 19th century, providing water to Segovia and nearby settlements. Although the aqueduct is 18 km long, only a small section passing through the Azoguejo square is popular with tourists. Due to its active use, the aqueduct in Segovia was often repaired, and therefore retained its almost original appearance, except for the stonework that has been replaced in places.
That's all